feature request: "remote user is root, make remote owner is foo"

travis+ml-rsync at subspacefield.org travis+ml-rsync at subspacefield.org
Wed Aug 11 11:18:11 MDT 2010


I often push files from my user account over SSH to my web server, and
want them owned by www-user, which may not have a login shell, should
never accept remote logins, and who may not have a ~/.ssh directory
(and if it did, it would be under the wwwroot, ack!).

Currently I push as root and then do a chmod, but isn't there a better
way?  While I'm doing this, the files are temporarily unavailable, since
they aren't readable by www-user as they exist on the local system.
-- 
A Weapon of Mass Construction
My emails do not have attachments; it's a digital signature that your mail
program doesn't understand. | http://www.subspacefield.org/~travis/ 
If you are a spammer, please email john at subspacefield.org to get blacklisted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100811/e14fbcc9/attachment.pgp>


More information about the rsync mailing list