[systemd-commits] src/label.c

Michal Schmidt michich at kemper.freedesktop.org
Mon Dec 19 15:03:59 PST 2011


 src/label.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 81c3f1f6aba52ac5e95241b51083b61c7401be44
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Mon Dec 19 23:55:29 2011 +0100

    label: fix labeling of symbolic links

diff --git a/src/label.c b/src/label.c
index d9d195b..2c887a0 100644
--- a/src/label.c
+++ b/src/label.c
@@ -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 */



More information about the systemd-commits mailing list