Permission Problems for copied files from NAS

I access my Synology NAS via AFP and can open/edit all of my files directly on it. But when I copy a file to my desktop I can't open it. Finder tells me I don't have appropriate permissions.

When I look at the permissions (CMD + I) on …

… my NAS:

  • (unknown): read & write
  • everyone: no permissions

… my desktop:

  • staff: read & write
  • everyone: no permissions

ls -l will print (for both paces): ----rwx--- 1 suntrop staff 35354 4 Jul 10:32 File.docx

Is this a problem on the Mac or Synology or my settings?


Sounds like a permission problem. I had a similar issue. Files created by one user in two groups (administrator & user) on NAS were not being able to read by users only in the user group. I tried reseting ownership/permissions using File Station from DiskStation and did nothing. I figured something was wrong with root folder permissions on shared folder - and yes, they were owned by root and 777 chmod.

I've managed to fix this by:

  1. On the Synology - control panel - win/mac/nfs - goto Mac File Serivce (AFP) and turn off Apply default UNIX permissions (Mac file services enabled) - root of your problem
  2. log on to NAS via ssh, go to most root shared folder and do

    chown -R nobody:users shared_folder/
    chmod -R 755 shared_folder/
    

used info from here, here and here.