This is a discussion on "set owner" option for rsync client within the Rsync forums, part of the Networking and Network Related category; --===============0844007145== Content-Type: multipart/alternative; boundary="----=_Part_32429_8095515.1207754412417" ------=_Part_32429_8095515.1207754412417 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0844007145==
Content-Type: multipart/alternative; boundary="----=_Part_32429_8095515.1207754412417" ------=_Part_32429_8095515.1207754412417 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have the following configuration: Server side: rsync daemon running as suid root, use chroot set to false. Client side: rsync client setuid root (so that it can write over other suid root owned files). When doing a :: based rsync to the server, I'd like to have the client be able to create/update files as the owner I pass on the command line. Since it has to be setuid root, and I don't use the -o option to preserve owner (my users aren't the same between client and server so I don't want it to map), it ends up creating the files as root. There doesn't appear to be a way for me to tell rsync to use a specific owner for creating/updating files. The --chmod option lets me override permissions, but nothing for owner. Perhaps a --setuid option? Any suggestions? ------=_Part_32429_8095515.1207754412417 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have the following configuration:<br><br>Server side:<br>rsync daemon running as suid root, use chroot set to false.<br><br>Client side:<br>rsync client setuid root (so that it can write over other suid root owned files). <br> <br>When doing a :: based rsync to the server, I'd like to have the client be able to create/update files as the owner I pass on the command line. Since it has to be setuid root, and I don't use the -o option to preserve owner (my users aren't the same between client and server so I don't want it to map), it ends up creating the files as root. <br> <br>There doesn't appear to be a way for me to tell rsync to use a specific owner for creating/updating files. The --chmod option lets me override permissions, but nothing for owner. Perhaps a --setuid option?<br> <br>Any suggestions?<br><br><br> ------=_Part_32429_8095515.1207754412417-- --===============0844007145== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html --===============0844007145==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|