Skip to content

Commit 51e68fa

Browse files
committed
set proper umask on internal-sftp
1 parent 6600f68 commit 51e68fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/sshd_config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ AllowTcpForwarding no
1515

1616
# Force sftp and chroot jail
1717
Subsystem sftp internal-sftp
18-
ForceCommand internal-sftp
18+
ForceCommand internal-sftp -u 0002 # umask for user|group rwx|rwx permisions
1919

2020
ChrootDirectory /home/%u
2121

0 commit comments

Comments
 (0)