Issues related to applications and software problems and general support
4 posts • Page 1 of 1
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!
At first glance it appears to be an ordinary permission (not an selinux) issue. Have you tried chmod 755 on these folders/files?
Remember - importing/building packages will likely "byte you in the butt" come update time, long after you'd forgotten you did that! Use repos whenever possible.
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.
facls? Use getfacl to check.