Commit 96447e05 authored by Austin Clements's avatar Austin Clements
Browse files

Fixed a bug involving setting permissions on newly created homedirs

parent 6e0bcee1
......@@ -1498,7 +1498,7 @@ sub doaccounts()
warn "*** WARNING: Error creating user homedir\n";
next;
}
chown($login, $login, $hdir);
chown($uid, $gid, $hdir);
}
# Add to DB only if successful.
......
......@@ -1498,7 +1498,7 @@ sub doaccounts()
warn "*** WARNING: Error creating user homedir\n";
next;
}
chown($login, $login, $hdir);
chown($uid, $gid, $hdir);
}
# Add to DB only if successful.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment