Access back-up of Pictures folder on network drive

I backed up the contents of an old Macbook which was probably running 10.5.8 by copying ~/Pictures and ~/Documents to my WD MyBook, right before the laptop died with the click-of-death, which probably indicates a failure of the hard-drive.

Fortunately all I care about on the old machine were the documents and pictures, but sadly, when I try and view the contents of those back-up folders in finder I get a pop-up window that says:

The folder “Pictures” can’t be opened because you don’t have permission to see it’s contents.

I can open the directories in the terminal app and even dump the contents of the files to the console, so I don’t think it’s a unix permissions issue. And none of my googling has found a fix to my problem. Specifically, I get these errors when I try the various proposed solutions I’ve found so far:

>sudo chmod -N Pictures
chmod: Failed to clear ACL on file Pictures: Operation not supported
>sudo chown jdthorpe Pictures
chown: Pictures: Operation not permitted

And if I highlight the file in Finder, click cmd-I to view the file info and try and modify the Sharing and Permissions, I get a error stating:

The operation cant be completed because you don’t have the necessary permission.

Finally, DiskUtil won’t reach the back-up folders since they’re on a network drive.

In case it’s useful, calling ls -lash yields this entry:

0 drwxrw-r--@ 1 jdthorpe staff 264B Apr 16 2011 Pictures

Any help is greatly appreciated!

chmod -R 777 /shares/FOLDER_NAME/

 Login as root, then you don’t have to use sudo

As it turns out, trying to set the permissions  via the command line does not work on NAS drives, as pointed out in this reponse.    The mystery user (“daapd”) that has ownership of the Pictures on the WD My Book LIve (MBL) is the name of the streaming service that streams the pictures, video, and  music on some shares of the MBL – and this “user” appears to have exclusive read & write access to directories containing music, pictures and video on shares that are set to allow streaming.   

I came across a solution stating “Just copy the contents to a windows computer” which works because the extended unix permissions do not prevent windows machines from accessing the data.  

THE SOLUTION:

Since the extended *nix permissions prevent any user not named “daapd” to access those files, I created a user on my Mac named “daapd” and voilà, I could accsss the Pictures folder.  I then created a new share on my MBL with streaming disabled, and I copied the contents from the old share to the new share and I now have access to my data. 

(and all it wook was ~22 hours to find a way to access the data I had “safely” backed up on my MBL…)

I use chmod -R 777 all the time to reset permissions from teh command line.   Never any problem for me doing it on my NAS. 

Creating a new user or using an existing one and assigning permissions to the share via the dashboard should work as well. I do it all the time.