Link to home
Start Free TrialLog in
Avatar of oxi1
oxi1

asked on

Permissions on Synology Diskstation

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.

Regards,

Thomas
Child-no-access.png
Child-access.png
Parent-folder.png
Synology-permissions.png
Avatar of kode99
kode99

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.
Avatar of oxi1

ASKER

@kode99
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?
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.
Avatar of oxi1

ASKER

@kode99
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.
ASKER CERTIFIED SOLUTION
Avatar of kode99
kode99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of oxi1

ASKER

@kode99
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.