[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 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:

> 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?


> 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? 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).



> 
> c) Have the users recover/browse their backups with samba
> instead of ssh and have samba map the uids/gids "properly".


Thanks.



-- 

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: