From: Dan Walsh Date: Mon, 19 Dec 2011 22:55:29 +0000 (+0100) Subject: label: fix labeling of symbolic links X-Git-Tag: v38~149 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81c3f1f6aba52ac5e95241b51083b61c7401be44;p=systemd label: fix labeling of symbolic links --- diff --git a/src/label.c b/src/label.c index d9d195b5..2c887a0f 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 */