Not root access some directory permission denied
Not root access some directory permission denied
The rights and SELinux fcontext of the doc directory and fanruan directory in one directory, the doc can accessed and the fanruan can't accessed. I try to use "setenforce 0" to close the SELinux temporarily, but not ok. Why? Thank you very much!
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: Not root access some directory permission denied
At first glance it appears to be an ordinary permission (not an selinux) issue. Have you tried chmod 755 on these folders/files?
Re: Not root access some directory permission denied
Well you don't tell us where that directory is but all the files there appear to have selinux contexts on them that say they belong under /home. If those are NOT under /home then you need to run restorecon -RFv $thatdirectory to reset them to what they should be. Or alternatively, if those files are under /home then don't muck about with them as root, use the user they should belong to.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Not root access some directory permission denied
facls? Use getfacl to check.