Skip to content

Commit fc22faa

Browse files
committed
fix(Commands/Create): chmod homeDir to 700 upon creation
1 parent 632fda1 commit fc22faa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Commands/Create.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ create = do
109109

110110
st <- addUser name
111111
homeDir <- userHomeDir name
112+
run "chmod" ["700", homeDir]
112113
liftIO $ logSuccessLn st
113114

114115
-- ask questions about the disk image

0 commit comments

Comments
 (0)