Re: "chcon" command line.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2006-07-02 at 22:02 +0700, rsomsak123@xxxxxxxxxxxxxxxxxxx wrote:
> Quoting Paul Howarth <paul@xxxxxxxxxxxx>:
> 
> > On Sun, 2006-07-02 at 21:03 +0700, rsomsak123@xxxxxxxxxxxxxxxxxxx
> > wrote:
> > >     I want to change context from ... below.
> > > drwxr-xr-x  root     root     root:object_r:root_t             home3
> > > 
> > >    to ... below.
> > > drwxr-xr-x  root     root                                             
> >          home3
> > > 
> > >     How can I do with "chcon" command ? (delete root:object_r:root_t
> > )
> > 
> > This will probably not have the effect you're looking for. What is the
> > actual problem you're trying to solve?
> > 
>    I want to test permission with Apache 2.x if I deleted context
> "root:object_r:root_t".
>    Do you know command to delete "root:object_r:root_t" ?

I don't know the command to do that, but if something has no context
then it should behave the same as something with context type
"default_t". So try:

# chcon -t default_t home3

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux