4

I have mounted a drive from my DLINK DNS 320 Nas onto my Mac Mini 10.9 via AFP. One of the subfolders where I usually store photos (named '2013') is currently showing restricted access permissions, and wont let me copy any more photos onto it. All the other subfolders have mode 777 and allow read/write:

drwxrwxrwx  1 john  staff      568 Apr  6  2012 2010
drwxrwxrwx  1 john  staff      738 Apr  6  2012 2011
drwxrwxrwx  1 john  staff      636 Oct 10 10:11 2012
drwxr-xr-x  1 john  staff      466 Dec  2 11:00 2013

I tried to change the mode of the 2013 folder by doing:

sudo chmod -R a+rwx /Volumes/Volume_1/photos/2013

but the operation was not permitted. How can I make the 2013 folder writeable again?

6
  • 1
    Who is john? Is that your OS X account name? And how is the drive formatted?
    – Arjan
    Jun 13, 2015 at 14:10
  • How do you connect to your NAS? I ask, because you tagged your Question with smb Jun 14, 2015 at 14:09
  • @George: Your bounty statement was : "This question has not received enough attention". As you don't react to answers, let me say this : This bounty has not received enough attention (from you).
    – harrymc
    Jun 17, 2015 at 18:09
  • @harrymc I'm not sure how you justify the charge that I don't react to answers... This is the only question of mine I have not followed up on, as I have not had time to fully test the proposed answers. The bounty doesn't even expire for another day.
    – Black
    Jun 18, 2015 at 1:55

2 Answers 2

3
+50

From Mounting NAS Volumes in Mac OS X the Right Way :

My original idea was to mount my NAS to a folder in /Volumes. This was problematic due to weird permission issues and automatic folder removal after a reboot. I finally realized that for better integration into my normal workflow, I would be far better off mounting the NAS to my home directory in /Users/<account>/.

The author of the article therefore added the following line to his /etc/auto_afp file :

/Users/brandon/GoFlex -fstype=afp  afp://brandon:[email protected]/brandon
3
  • and how does this will affect the situation that even sudo can't change permission. Jun 13, 2015 at 19:32
  • @MarcoM.vonHagen: Only trying it out will tell.
    – harrymc
    Jun 13, 2015 at 21:38
  • Its the entry in the ACL of /Volumes which will make the difference $: ls -la@e /Volumes total 8 drwxrwxrwt@ 4 root admin 136 17 Jun 13:41 . com.apple.FinderInfo 32 0: group:everyone deny add_file,add_subdirectory,directory_inherit,only_inherit Jun 19, 2015 at 9:22
0

I used the following command to manually mount the NAS drive into a subfolder of ~:

mount_afp afp://mynas.local/Volume_1 /Users/myname/NAS
1
  • even better; if I mount this way, then run chmod on the hidden directory, when I re-mount the volume in the normal way through Finder, the permissions are fixed
    – Black
    Apr 19, 2016 at 2:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .