Merge pull request #439 from ikerexxe/useradd_skel_fix
useradd: change SELinux labels for home files
This commit is contained in:
commit
6c3d4ebf6e
@ -2704,7 +2704,7 @@ int main (int argc, char **argv)
|
||||
if (mflg) {
|
||||
create_home ();
|
||||
if (home_added) {
|
||||
copy_tree (def_template, prefix_user_home, false, false,
|
||||
copy_tree (def_template, prefix_user_home, false, true,
|
||||
(uid_t)-1, user_id, (gid_t)-1, user_gid);
|
||||
} else {
|
||||
fprintf (stderr,
|
||||
|
Loading…
Reference in New Issue
Block a user