Hi, I use the below command to freshen or fetch files: /usr/bin/rsync --rsh=/usr/local/openssh/bin/ssh -rltDv --delete $source $destination When a file is fetched (as new, and not freshened) it is created locally with owner/group as root:other, i.e. it is run as a root cron. Is it possible for newly created files to be owned by another user, even though it is running as root? Thanks, Mike _________________________________________________________________ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters
On Mon, Oct 03, 2005 at 04:19:21PM +0000, Mike Walters wrote:> Is it possible for newly created files to be owned by another user, even > though it is running as root?The only options rsync supports are to preserve the owner, or to create the file using the current user. ..wayne..
Maybe Matching Threads
- Rsync using --daemon - how to specify port on client side for upload.
- exit code 23 - inappropriate error for copying symlinks?
- Default 4.4 kernel and NTFS?
- Updating the docs/help on the default remote shell
- configure --with-rsh=CMD and default blocking-IO support