From afa63b4de8367c2c48c639471e18962c1e1b5ad5 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Mon, 19 Dec 2011 23:55:29 +0100 Subject: [PATCH] label: fix labeling of symbolic links (cherry picked from commit 81c3f1f6aba52ac5e95241b51083b61c7401be44) --- src/label.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 */