mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
parent
e206d5ab63
commit
9ea35eae7a
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ foreach my $u (@{$spec->{users}}) {
|
|||
}
|
||||
|
||||
# Create a home directory.
|
||||
if ($u->{createHome} && ! -e $u->{home}) {
|
||||
if ($u->{createHome}) {
|
||||
make_path($u->{home}, { mode => 0700 }) if ! -e $u->{home};
|
||||
chown $u->{uid}, $u->{gid}, $u->{home};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue