On Tue, Mar 05, 2013 at 12:26:14PM +0000, Chris Walker wrote:
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
OK, my guess then is that it's something to do with the way the drive is mounted.
/dev/sdc1 on /media/Seagate Backup Plus Drive type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
This is the relevant one, that "type fuseblk" worries me slightly (mostly because I don't know what it means!). ... a quick google informs me that fuseblk indicates that it's probably a non-Linux drive formatted as ntfs or something similar.
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.
I think the problem is the Seagate Backup drive. It appears not to have a Linux filesystem on it and the permission flags don't map to or from it properly. So you *can't* get the right permissions on the files if you copy them to/from that drive.