Post-Win2k3 Upgrade rsync+ssh Permissions Problem
Ernest.Mueller at ni.com
Ernest.Mueller at ni.com
Fri May 12 15:40:16 GMT 2006
Thanks! And I mistyped, it was a ugo+w, which of course makes me a tad
nervous. I'll look through those docs and see what I can figure out, I do
have ntsec on (CYGWIN=binmode ntsec tty to be exact).
Actually, did something that works. Our rsync user (weblord) had been set
to the Administrator (500) uid. That didn't work, nor did setting it to
the new sshd_server uid - but setting it to 544 (Administrators) did the
trick. Good enough! Havng a UID for a group makes this ol' UNIX boy's
head hurt.
Thanks,
Ernest
Matt McCutchen
<hashproduct+rsyn
c at gmail.com> To
Sent by: Ernest.Mueller at ni.com
rsync-bounces+ern cc
est.mueller=ni.co rsync at lists.samba.org
m at lists.samba.org Subject
Re: Post-Win2k3 Upgrade rsync+ssh
Permissions Problem
05/11/2006 08:53
PM
On Tue, 2006-05-09 at 13:02 -0500, Ernest.Mueller at ni.com wrote:
> After the upgrade, new files getting synced over were unreadable by the
Web
> server.
>
> Here's what the permissions look like:
>
> -rwxr-----+ 1 Administrators mkpasswd 864 Jun 9 1999 yes.gif
> -rwxr-----+ 1 544 401 864 Jun 9 1999 yes.gif
How Cygwin translates the Unix permissions set by the receiving rsync
into NTFS ACLs is beyond me, but this article attempts to describe it:
http://cygwin.com/cygwin-ug-net/ntsec.html
Anyway, if telling Cygwin to grant everyone read permission seems to be
enough to solve the problem, pass --chmod=ugo+r to rsync to have it
chmod files as they are transferred. You need at least rsync 2.6.7 on
the sender for this to work.
Matt
--
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
More information about the rsync
mailing list