On Sun, 2006-07-02 at 22:02 +0700, rsomsak123@mor-or.pn.psu.ac.th wrote:
Quoting Paul Howarth paul@city-fan.org:
On Sun, 2006-07-02 at 21:03 +0700, rsomsak123@mor-or.pn.psu.ac.th 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.