[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Permissions on Synology Diskstation

Posted on 2014-04-16
Medium Priority
Last Modified: 2014-04-22
Hi Experts,

I recently upgraded to the new DSM 5 on the Synology Diskstation and am experiencing folder permission problems for the users of one of the shared folders on the NAS.

I have attached the screenshots of the Parent folder, "Client - Local" and two of the child folders. I have set the permissions for the parent folder, but it does not seem to propagate to all the child folders, so I have to do this manually. As there are many of these, I was wondering if you have a shortcut I can try. I've tried to reset permissions from the Synology by first setting "no access", then restarting the Diskstation and then giving permission again- no luck.
I have also given the users full access to the parent folder and have clicked on "Apply to enclosed items"- no change.

I hope you can help.


Question by:oxi1
  • 3
  • 3
LVL 25

Expert Comment

ID: 40008229
Did you turn on advanced share permissions?

Also have you tried to set the permissions by logging into the Synology DSM as admin and set the share permission through File Station?  Any permissions changes have a check box at the bottom 'Apply to this folders, sub folders and files'.  If the share file structure is large this can take a while but it rolls through everything in the share in one go.

In order for proper access you need both the underlying file permission set and the permission settings of the sharing service to both allow access.  If either says no access you have no access.  So setting permissions from the client OS will make no difference if the Linux filesystem permissions of the server do not allow access.

If you set permissions using File Station from within DSM it may set both levels of access properly.

I did not have any issues with any units I have upgraded but all so far were pretty basic setups.  Though I would not be surprised with permissions issues as that did get some big changes between 4 and 5.

I have not done much testing with macs,  on windows I see the permission changes effect immediately,  rebooting the server is not needed.

Author Comment

ID: 40008324
Thanks a lot for helping out.

What I've done so far is to reset the permissions completely using the DSM File Station. Then I've restarted the Diskstation and then re-enabled read/write access for the users. This didn't work. Some child directories within the main share still don't have the right permissions after this step. The only way I've been able to fix this is to open the directory information panel manually on my Mac and then change the folder permission. This is quite a process since there are hundreds of directories.

I have also tried to copy the whole folder to a new directory and then share that directory, but the permissions are just inherited in the new location.

I have looked for "Advanced share permissions" but can't find that. Is it on the DSM interface?
LVL 25

Expert Comment

ID: 40009484
When you edit a share there is a 'Advanced' tab which has the option to run advanced share permissions and a couple other setting that are for File Station, FTP and Webdav.

It could cause a permissions issue if it was on.  I would leave that alone for now if it is off.

I'm not a mac guy, literally just got one yesterday to try and get some windows software to run on it using WINE.  So bear with me it's unfamiliar.

But,  you can set the permissions recursively directly from the mac.  If your manual changes on the mac are working currently and the change remains working then we just need to do it recursively from the top level folder of the share.

To do that go to the info screen for the top of the share.  When you are looking at the info screen that shows the permissions there is a button named 'Apply to enclosed items" - use this to apply the permissions all the way down the line - all files, sub folders and the contents of the subfolders etc..  You will need to do this from an account that can see everything.

If that does not work the next step will be to log into the Synology unit via terminal and do it on the command line.
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.


Author Comment

ID: 40011011
I tried to do the permissions recursively using my admin login on the mac. No change to that one specific folder containing all the sub folders though... strange.

I unshared the whole parent folder on File Station, restarted DSM and then reshared with full  permissions. Still the same problem on many of the child folders.
LVL 25

Accepted Solution

kode99 earned 2000 total points
ID: 40014081
How long after recursively setting the permissions are you restarting DSM?

If there are a boatload of permissions to set it can take a while  (especially on lower end models).  I wonder if restarting DSM is stopping the process before it is done and causing the spotty completion.

There is really no need to be rebooting the NAS for permissions changes.

Are you comfortable with doing command line operations?  You could open a terminal window into the Synology unit and set permissions via linux command line.

Other options would be a tool like WinSCP but for a mac.  I think maybe Cyberduck is a similar program for mac

Then do the recursive setting in this program.

Author Comment

ID: 40014386
Thanks a lot for the suggestion. Turns out that I was restarting the Diskstation too early. I redid the permissions and didn't restart and an hour later it worked.
Thanks a lot for the help.

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question