Solved

Permissions on Synology Diskstation

Posted on 2014-04-16
6
14,496 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 

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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
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…

695 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