How to use sub-level folder permissions
From SynologyWiki
Here is a guide on how to use sub-level folder permissions. Please note that this is not an officially supported feature of the Synology product; your experience and support may vary. This was tested using CoreFTP and a CS407 with Synology Disk Station Manager 2.0-0571. Adjust the variables as necessary
Via CoreFTP
- Make sure FTP services is enabled
- Login to Disk Station Manager as admin, Create a new shared folder called ftp
- From the priviledges menu, give the folder ftp the permissions User Group, Users=RW
- Go to user management, and create the requested users (this example will cover ftpa, ftpb, ftpc)
- Launch CoreFTP, login as ftpa
- Browse to the ftp folder
- Create a folder, called ftpa
- This will be the user subfolder
- Go to the properties of the folder, and remove the check marks from Group and World folders (chmod =700)
- Repeat the previous four steps for each additional user
- You are done, the sub folders should limit the permissions via FTP or Samba protocol.
Via Command Line Interface
- Login to Disk Station Manager as admin, Create a new shared folder called ftp
- From the priviledges menu, give the folder ftp the permissions User Group, Users=RW
- Go to user management, and create the requested users (this example will cover ftpa, ftpb, ftpc)
- Telnet/SSH as root into the Synology Box
- cd /volume1/ftp
- mkdir ftp*
- Note: * is variable, adjust as necessary
- chmod 700 ftp*
- chown -R ftp* ftp*
- Note: the first variable is the userName, the second variable is folderName
