Paul Slootman wrote:
> On Wed 04 Jul 2007, Bas van Schaik wrote:
>   
>>>     --chmod=Dg+s,ug+w,Fo-w,+X
>>>   
>>>       
>> Wow, why didn't I see that?
>>
>> But wait... I can't find such a line in my manpages (clean Debian Etch
>> install):
>>     
>>> $ dpkg -l | grep rsync
>>> ii  rsync                           
>>> 2.6.9-2                             fast remote file copy program
>>> (like rcp)
>>>       
>> My version seems to be the latest (packages.debian.org only mentions -3
>> in testing/unstable and ~pre-3-1 in experimental), maybe this feature
>> only exists in the experimental version 3? Or is the manpage shipped
>> with Etch out of date? Or maybe I just didn't drink enough coffee for
>> today... Please enlight me!
>>     
>
> I think your coffee intake needs to be adjusted.
>
> [EMAIL PROTECTED]:/data/www$ dpkg -l rsync | grep rsync
> ii  rsync          2.6.9-2        fast remote file copy program (like rcp)
> [EMAIL PROTECTED]:/data/www$ man rsync | grep -- '--chmod='
> Reformatting rsync(1), please wait...
>             --chmod=CHMOD           affect file and/or directory permissions
>               --chmod=ugo=rwX  (which  ensures  that  all  non-masked bits get
>                  rsync alias -s --no-p --no-g --chmod=ugo=rwX
>               --chmod=Dg+s,ug+w,Fo-w,+X
>   

Ah, I looked at the "incoming chmod" configuration directive in
rsyncd.conf, documented by man 5 rsyncd.conf. But indeed, that manpage says:
> See the description of the --chmod rsync option and the chmod(1) manpage
> for information on the format of this string.
Which I of course haven't done yet.

I'm on my way to the coffee machine... Thanks, Paul!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to