The "-a" option (the "--links", "--perms",
"--devices", and "--times" options are redundant, as
they, as well as "--owner", "--group", and
"--recursive" are implied by
"-a" )does dictate that permissions on files being sent be brought
over
from the source. Are all files losing permissions, or only files being
skipped because they are newer than those on the source (because -f the
"-u" option)? Root privilege is irrelevant to preservation of
permissions. Root privilege is needed only to do things regular users
cannot, such as changing ownership, overriding privileges, etc..
Tim Conway
tim.conway@philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"
"C.Zimmermann" <clemens@prz.tu-berlin.de>
Sent by: rsync-admin@lists.samba.org
03/12/2002 08:19 AM
To: Tim Conway/LMT/SC/PHILIPS@AMEC
cc: <rsync@lists.samba.org>
"clemens" <clemens@prz.tu-berlin.de>
Subject: AW: ssh + permissions
Classification:
The command I am using is:
rsync -avx --hard-links --links --ignore-errors --perms --devices
--times --stats --progress -e ssh -u / rsync@host:/dir
and the permissions on the source are not appearing on the destination
and the destination ssh-account has no root-rights.
Should it work like this ?
C.Zimmermann
>
> Sure. Don't tell rsync to preserve permissions. This
> precludes the use
> of the "-p", and "--perms"options, and the
"-a", and
> "--archive" options,
> which imply them. If your wording means that the permissions on the
> source are not appearing on the destination, change "precludes"
to
> "requires" and "and" to "or" in the sentence
above.
>
> Tim Conway
> tim.conway@philips.com
> 303.682.4917
> Philips Semiconductor - Longmont TC
> 1880 Industrial Circle, Suite D
> Longmont, CO 80501
> Available via SameTime Connect within Philips, n9hmg on AIM
> perl -e 'print pack(nnnnnnnnnnnn,
> 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,2545
> 1,25970),
> ".\n" '
> "There are some who call me.... Tim?"
>
>
>
>
> "C.Zimmermann" <clemens@prz.tu-berlin.de>
> Sent by: rsync-admin@lists.samba.org
> 03/12/2002 05:01 AM
>
>
> To: <rsync@lists.samba.org>
> cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
> Subject: ssh + permissions
> Classification:
>
>
>
> Hello,
>
> If I sync a filesystem using ssh to an remote server, all
> filepermissions on the remote site are gone. Is there a
> chance to preserve the permissions using ssh ?
>
> Thanks C. Zimmermann
>
>
>
> --
> To unsubscribe or change options:
> http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read:
> http://www.tuxedo.org/~esr/faqs/smart-> questions.html
>
>
>
>
--
To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html