On Thu, Jan 11, 2007 at 02:01:30PM -0700, Ken Dyke ([EMAIL PROTECTED]) wrote:
Thank you, Barnd for your reply, it got me digging harder on the problem. Because of this > PATH=~/bin:$PATH This merely tries to execute itself as root. > #!/bin/bash > sudo rsync $@ sudo /usr/bin/rsync "$@" does execute rsync as root according to the sudo log entry. But I still get only a partial transfer. I suspect that some non-root shell environment values are leaking through to rsync which is causing the failure. Basically the difference between: su su - While it may be possible to get the latter behavior from sudo, the sudo man pages are a miserable affair. -- Chief Gadgeteer Elegant Innovations _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
