Skip to content

Commit

Permalink
ensure home dir is at least world-executable
Browse files Browse the repository at this point in the history
  • Loading branch information
adsr committed Aug 24, 2024
1 parent 4b1e80b commit 7036889
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/create_users.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,9 @@ comm -13 <(cut -d: -f1 /etc/passwd | sort) <(ls -1 "$rwrs_root/users" | sort) |
# chown home dir
chown -vR "$uname:$uname" $home_dir

# ensure home dir is at least world-executable
# see https://github.com/adsr/rw.rs/issues/180
chmod -v o+x $home_dir

logger -t $log_ns "created user $uname"
done

0 comments on commit 7036889

Please sign in to comment.