How to set default permissions of an uploaded file

For issues regarding settings and usage of FTP and WebDAV service, post it here!
Forum rules
1) On 12/25, Synology Forums will be getting a new layout. During this time, content will still be accessible but you will be unable to make new threads and posts.

2) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

3) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
Posts: 187
Joined: Tue Jul 17, 2007 12:22 pm

How to set default permissions of an uploaded file

Postby thunderbird » Mon Jan 30, 2012 2:18 pm

How is it possible to set the default permission of a file uploaded via WebDAV? If I upload a file, the permission is always set to -rw-rw-rw while I would rather like someting like -rw--r--r
For samba there's a settin called "create mask", is there something similar for WebDAV? I did a little bit of investigation and found the suggestion of setting the umask, which i tried by editing the (adding umask 022 at the beginning of the script), but with no success... Any ideas?

Return to “FTP & WebDAV Server”

Who is online

Users browsing this forum: No registered users and 1 guest