Skip to content

Commit

Permalink
fix: Keep the username directory permission at 750.
Browse files Browse the repository at this point in the history
Keep the username directory permission at 750.
prevent other users from having access permissions

Log: Keep the username directory permission at 750.
pms: Bug-282975
  • Loading branch information
liujianqiang-niu committed Dec 11, 2024
1 parent 2e48e46 commit b0774cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
shadow (1:4.14+dfsg1-0deepin4) unstable; urgency=medium

* fix: Keep the username directory permission at 750. (pms: 282975).

-- liujianqiang <[email protected]> Wed, 11 Dec 2024 11:28:47 +0800

shadow (1:4.14+dfsg1-0deepin3) unstable; urgency=medium

* Use --enable-logind=yes --enable-lastlog configure flag
Expand Down
2 changes: 1 addition & 1 deletion debian/login.defs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ UMASK 022
# HOME_MODE is used by useradd(8) and newusers(8) to set the mode for new
# home directories.
# If HOME_MODE is not set, the value of UMASK is used to create the mode.
#HOME_MODE 0700
HOME_MODE 0750

#
# Password aging controls:
Expand Down

0 comments on commit b0774cf

Please sign in to comment.