Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libselinux: Ignore missing directories when -i is used
Currently "-i" only ignores a file whose parent directory exists. Start also ignoring paths with missing components. Fixes: # restorecon -i -v -R /var/log/missingdir/missingfile; echo $? 255 restorecon: SELinux: Could not get canonical path for /var/log/missingdir/missingfile restorecon: No such file or directory. Signed-off-by: Vit Mojzis <[email protected]> Acked-by: James Carter <[email protected]>
- Loading branch information