about sftp umask setting

Discuss new features and functions
Posts: 9
Joined: 28 Apr 2020

zoushenliang

Is it possible to let the server decide the value of the umask, or add the option to set the umask. Prior to version 10.19, the value of UMASK was determined by the service. In the current version, whatever value the server has set umask to is invalid, it becomes the fixed value 0022 set by FFS.
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

FFS doesn't change the server's umask. Regarding permissions: Not sure if setting permissions for all files is the best solution. Maybe instead, FFS should try to preserve the permissions of existing files:
viewtopic.php?t=6881
Posts: 9
Joined: 28 Apr 2020

zoushenliang

FFS doesn't change the server's umask. Regarding permissions: Not sure if setting permissions for all files is the best solution. Maybe instead, FFS should try to preserve the permissions of existing files:
viewtopic.php?t=6881 Zenju, 22 May 2020, 09:17
Thank you for your reply.
Yes, it is necessary to retain documentation rights for existing documents as well as inheritance rights