"set owner" option for rsync client

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 ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008
Corey Stup
 
Posts: n/a
Default "set owner" option for rsync client

--===============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).&nbsp; <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.&nbsp;&nbsp; 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.&nbsp; <br>
<br>There doesn't appear to be a way for me to tell rsync to use a specific owner for creating/updating files.&nbsp;&nbsp; The --chmod option lets me override permissions, but nothing for owner.&nbsp;&nbsp; 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==--
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:47 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0