mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 07:48:36 +00:00
label: fix labeling of symbolic links
This commit is contained in:
committed by
Michal Schmidt
parent
0b1f4ae635
commit
81c3f1f6ab
+1
-1
@@ -109,7 +109,7 @@ int label_fix(const char *path, bool ignore_enoent) {
|
||||
return 0;
|
||||
|
||||
if (r == 0) {
|
||||
r = setfilecon(path, fcon);
|
||||
r = lsetfilecon(path, fcon);
|
||||
freecon(fcon);
|
||||
|
||||
/* If the FS doesn't support labels, then exit without warning */
|
||||
|
||||
Reference in New Issue
Block a user