[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync and Windows backups on a Debian box and permissions



Karl O. Pinc wrote:
> 
> On 06/08/2009 01:28:53 PM, H.S. wrote:
>> Karl O. Pinc wrote:
>> >
>> > On 06/08/2009 11:26:01 AM, H.S. wrote:
>> >>
>> >> Any ideas how I get around this problem?
>>
>> Nice tips, and it appears they make sense. However, please pardon my
>> ignorance, I am not sure I fully understand:
> 
> These are sort of "this or that" choices.
> 
>>
>> > a) Don't do that.  Have the uid/gids be the same on the MS
>> > and Debian sides.
>>
>> You mean preserve the the uid/gids on the Debian side so that they are
>> the same as they were on the XP machine?
> 
> Right, and set the ids manually when you make the users on
> the Debian side.
> 
>>
>>
>> > b) Use --numeric-ids in the rsync script and after it finishes
>> > use find -uid and chown to change the uids to the "right" value.
>> > (Likewise for gids.)
>>
>> >From rsync's man page, --numeric-ids will preserve the numeric ids
>> across transfers. So, it appears that I am on the right track in (a)
>> above. But what should I change these ids to on the Debian side? If
>> the
>> ids are preserved, shouldn't that be fine for the following step as
>> well?
> 
> Yup.
> 
>> Since all I require is that the users on XP be able to browse
>> their own backups on Debian (which, as you wrote in (c), should be
>> accomplished using samba).
> 
> You don't have to use samba, it's just nice for MS Windows users.
> 
> FYI, somebody must have done this before so there's probably a
> best-practices on the net, somewhere.

Thanks for all these pointers. I think you have given me sufficient
information to search for this on google and try out various options.

Regards.


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


Reply to: