diff options
author | Kay Sievers <kay@vrfy.org> | 2012-05-31 12:40:20 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-05-31 12:40:20 +0200 |
commit | d2e54fae5ca7a0f71b5ac8b356a589ff0a09ea0a (patch) | |
tree | b1a4773022e0904f6e023bcff832d897ed46c893 /src/shared/install.c | |
parent | 051d68786bd5bfe87e7cc0c1d68ec4be83eb662a (diff) |
mkdir: append _label to all mkdir() calls that explicitly set the selinux context
Diffstat (limited to 'src/shared/install.c')
-rw-r--r-- | src/shared/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c index 7e4f666952..40b137e437 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -1151,7 +1151,7 @@ static int create_symlink( assert(old_path); assert(new_path); - mkdir_parents(new_path, 0755); + mkdir_parents_label(new_path, 0755); if (symlink(old_path, new_path) >= 0) { add_file_change(changes, n_changes, UNIT_FILE_SYMLINK, new_path, old_path); |