Solved

Permissions on Synology Diskstation

Posted on 2014-04-16
6
13,789 Views
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.

Regards,

Thomas
Child-no-access.png
Child-access.png
Parent-folder.png
Synology-permissions.png
0
Comment
Question by:oxi1
  • 3
  • 3
6 Comments
 
LVL 25

Expert Comment

by:kode99
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.
0
 

Author Comment

by:oxi1
ID: 40008324
@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?
0
 
LVL 25

Expert Comment

by:kode99
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.
0
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

 

Author Comment

by:oxi1
ID: 40011011
@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.
0
 
LVL 25

Accepted Solution

by:
kode99 earned 500 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
http://cyberduck.io/

Then do the recursive setting in this program.
0
 

Author Comment

by:oxi1
ID: 40014386
@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.
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMware lost connectivity to datastore 15 944
Home lab datacenter 9 156
space utilisation on Netapp Volume 5 47
error received trying to do a system image? 8 43
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
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 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…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

756 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