On 05/03/13 12:13, Chris Green wrote:
Can you show us what exactly happens please. Is there any error message or what? Do you cd to the directory and then run the chmod or are you doing something like:-
I'm cd'ing to the directory you've listed below and then trying to run the chmod command. There are no errors
chmod 777 /media/Seagate\ Backup\ Plus\ Drive/Epox_Share/Drive_C/Library/
... the other possibility is that there's something in the way the files are mounted that's preventing you from changing their permissions (and, similarly, preventing you from writing them). If you type 'mount' what does it report?
/dev/sda2 on /media/win_c type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) /dev/sdb6 on /home type ext4 (rw,commit=0) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) //storage_server/Laptop_Share on /media/Laptop_Share type cifs (rw,noexec,nosuid,nodev) //storage_server/Epox_Share on /media/Epox_Share type cifs (rw,noexec,nosuid,nodev) //storage_server/Linux_Share on /media/Linux_Share type cifs (rw,noexec,nosuid,nodev) //storage_server/Media_Share on /media/Media_Share type cifs (rw,noexec,nosuid,nodev) /dev/sdc1 on /media/Seagate Backup Plus Drive type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) gvfs-fuse-daemon on /home/chris/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=chris)
For completeness, here is the output from ls -l
drwxrwxrwx 3 root root 0 Jan 1 1970 Epox_Share/ drwxrwxrwx 2 root root 0 Mar 4 12:40 Laptop_Share/ drwxrwxrwx 2 root root 0 Mar 4 12:40 Linux_Share/ drwxrwxrwx 2 root root 0 Mar 4 15:58 Media_Share/ drwx------ 1 chris cdrom 16384 Mar 4 16:15 Seagate Backup Plus Drive/ drwxrwxrwx 1 root root 28672 Feb 28 11:10 win_c/
The next question occurs to me though, how did I manage to screw this up as I imagine that the files on the NAS weren't like this before I copied them. So was it my incorrect use of the rsync command? If so, then I guess I'm likely to have similar problems when the files are back on the NAS.
The files listed above *are* on the NAS aren't they? It looks like it from the directory path - or am I very confused (quite likely)?
The NAS is 'storage_server' and the drive I copied 'to' from the NAS originally is the 'Seagate Backup' drive. I'm now seeking to transfer the contents of 'Seagate Backup' back to 'storage_server' and it's there I'm running into problems.