* libmisc/copydir.c, lib/prototypes.h: Caller can choose not to
copy the extended attributes (the SELinux context is hence reset) * src/usermod.c: Copy the extended attributes. * src/useradd.c: Only reset the SELinux context.
This commit is contained in:
@ -1444,6 +1444,7 @@ static void move_home (void)
|
||||
} else {
|
||||
if (EXDEV == errno) {
|
||||
if (copy_tree (user_home, user_newhome, true,
|
||||
true,
|
||||
user_id,
|
||||
uflg ? user_newid : (uid_t)-1,
|
||||
user_gid,
|
||||
|
Reference in New Issue
Block a user