RE: [Samba] Maxtor NAS share problem
>> 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[/color]
> 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.[/color]
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: [email]firstname.lastname@example.org[/email]
To unsubscribe from this list go to the following URL and read the