Skip to content

Commit 51b9337

Browse files
committed
fix (project-clone) : update project-clone Dockerfile to modify /etc/passwd permissions/ownership
- Added command to set permissions (chmod 644) for /etc/passwd during the user setup process. Signed-off-by: Rohan Kumar <[email protected]>
1 parent 6f01ac3 commit 51b9337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/bin/user_setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ chown ${USER_UID}:0 ${HOME}
77
chmod ug+rwx ${HOME}
88

99
# runtime user will need to be able to self-insert in /etc/passwd
10-
chmod g+rw /etc/passwd
10+
chmod g-w /etc/passwd
1111

1212
# no need for this script to remain in the image after running
1313
rm $0

0 commit comments

Comments
 (0)