Theme
Overriding permissions on subfolders
Syncplify Server! lets you override a user's permissions on the subfolders inside their home VFS, folder by folder.
Say the directory structure on disk is the one in the picture below, and that the user's home VFS is a Disk VFS pointing to C:\SFTPRoot:
When an SFTP client connects, the user sees the incoming and outgoing folders under their root, and by default both carry the same permissions as the root that contains them.
But what if you want to restrict incoming to uploads only, and outgoing to downloads only? What if you want to change the user's permissions on a per folder basis?
Open the user in the Admin UI (Access, then Users, then edit) and use the Permission overrides tab: each override is a path and the set of permissions that applies to it.
INFO
Every path in an override is POSIX style and root based: it begins with a forward slash, uses forward slashes as separators, and is relative to the target of the user's home VFS, which is the root of that user. In the example above the paths are /incoming and /outgoing, whatever the operating system and wherever the home VFS points.
A few more things worth knowing:
- An override applies to its folder and to everything beneath it. When several overrides could apply, the most specific one (the longest path) wins.
- Overrides take precedence over the permissions of virtual folders, so you can also override permissions on a path inside a virtual folder mounted in the user's home.
- The path may contain the wildcards
*and?, which match within one path segment: an override on/customers/*/incomingcovers theincomingfolder of every customer.
