This is a discussion on RE: [Samba] Maxtor NAS share problem - Samba ; >> I was talking about saving the Linux filesystem info. Do your rsync to=20 >> the NAS, then do a recursive getfacl, redirecting the output to a=20 >> file on the NAS. >> When you do an rsync back from ...
>> I was talking about saving the Linux filesystem info. Do your rsync
>> the NAS, then do a recursive getfacl, redirecting the output to a=20
>> file on the NAS.
>> When you do an rsync back from the NAS, correct the owner/perms with=20
> Trouble is that I CAN'T do my rsync to the NAS drive because it
> give me the access privileges I need to write to the NAS. The rsync
> wants to change owner and the NAS won't let it do that.
There are switches to modify that behaviour - -p, -o, -t, -g - and there
are aliases (eg -a)that switch combinations of those on or off.
What's the exact command line you're using to rsync?
Something like rsync -r /source/ /destination should work, regardless of
the permissions, because rsync will write everything as whoever you're
logged on as (or whoever the NAS translates that to be).
As previously suggested you can then do a recursive getfacl over /source
and write the output to /destination. That will create a text file with
all your permissions etc included in it so they can be restored by
setfacl if required.
Alex Harrington - Network Manager, Longhill High School
t: 01273 304086 | e: firstname.lastname@example.org
To unsubscribe from this list go to the following URL and read the