Solved

Permissions on Synology Diskstation

Posted on 2014-04-16
6
12,180 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
Comment Utility
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
Comment Utility
@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
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:oxi1
Comment Utility
@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
Comment Utility
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
Comment Utility
@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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Apple's Mac OS X has become an official member of the malware club. The Flashback Trojan has affected over half million Macs, worldwide. It is behavior that ultimately gets malware onto a person’s computer. Obsolete or out-of-date software helps…
iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
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 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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now