Re: chmod/chown on receiver

2006-02-15 Thread Jamie Lokier
Wayne Davison wrote: > On Tue, Feb 14, 2006 at 10:17:51AM +0100, Blickwinkel wrote: > > Thanks, I was trying your hint with the su command, but somehow > > "--server" seems to get passed to su and fails: > > That is a GNU thing with them reordering options unless POSIXLY_CORRECT > is set to "1" i

Re: chmod/chown on receiver

2006-02-14 Thread Wayne Davison
On Tue, Feb 14, 2006 at 10:17:51AM +0100, Blickwinkel wrote: > Thanks, I was trying your hint with the su command, but somehow > "--server" seems to get passed to su and fails: That is a GNU thing with them reordering options unless POSIXLY_CORRECT is set to "1" in the environment (which is an ex

Re: chmod/chown on receiver

2006-02-14 Thread Blickwinkel
Am Fri, 10 Feb 2006 15:32:17 -0800 hat Wayne Davison <[EMAIL PROTECTED]> geschrieben: On Fri, Feb 10, 2006 at 10:44:58PM +, [EMAIL PROTECTED] wrote: These files have to be rw by wwwrun on the receiver. As long as your remote-shell logs in as user wwwrun, the files will be owned by that

Re: chmod/chown on receiver

2006-02-10 Thread Wayne Davison
On Fri, Feb 10, 2006 at 10:44:58PM +, [EMAIL PROTECTED] wrote: > These files have to be rw by wwwrun on the receiver. As long as your remote-shell logs in as user wwwrun, the files will be owned by that user. If you're logging in as root, just run rsync as that user (e.g. --rsync-path="su -

chmod/chown on receiver

2006-02-10 Thread rsync
Hi there, I'm pushing a directory tree from a samba server with notificytion via fileschanged (FAM) to a webserver for procession images into an image-database. These files have to be rw by wwwrun on the receiver. If the receiver woul pull the files, the script could chmod after transfer, bu