Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setfiles: clarify documented path resolution behaviour
One thing that confused me when investigating SELinuxProject/selinux#248 (i.e. coreos/fedora-coreos-tracker#512) was that the manual page for `setfiles` seemed to imply that paths were fully resolved. This was consistent with the issues above where `setfiles` was failing because the target of the symbolic link didn't exist. But in fact, the wording around symbolic links in `setfiles`/`restorecon` refers actually to whether the parent directories are canonicalized via `realpath(3)` before labeling. Clarify the man pages to explain this. Signed-off-by: Jonathan Lebon <jlebon@redhat.com> Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
- Loading branch information