Ron DuFresne
2003-Sep-24 14:52 UTC
same system syncs of filesystems, yet changing ownerships;
Folks, I'm setting up to sync files from a staging env to a prodution env, such that the filesystems for both are served via nfs to their respective systems. Thus, I can do the rsync on the nfs server as a 'advanced cp'. rsnyc $parms filessystem filesystem2 Due to ownerships and permissions, I have to run this as root, but, I'd like the files to belong to another user and group then roots upon syncing. Is this possible without having to make it more ssh like and put the added overhaed into the transaction? responces prefered to the ron.dufresne@ncmail.net address. Thanks, Ron DuFresne -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin & senior consultant: darkstar.sysinfo.com http://darkstar.sysinfo.com "Cutting the space budget really restores my faith in humanity. It eliminates dreams, goals, and ideals and lets us get straight to the business of hate, debauchery, and self-annihilation." -- Johnny Hart testing, only testing, and damn good at it too! ~~ The good thing about potential is, as long as you do nothing, you'll always have it.
jw schultz
2003-Sep-24 15:29 UTC
same system syncs of filesystems, yet changing ownerships;
On Wed, Sep 24, 2003 at 12:52:50AM -0400, Ron DuFresne wrote:> Folks, > > I'm setting up to sync files from a staging env to a prodution env, such > that the filesystems for both are served via nfs to their respective > systems. Thus, I can do the rsync on the nfs server as a 'advanced cp'. > > rsnyc $parms filessystem filesystem2 > > Due to ownerships and permissions, I have to run this as root, but, I'd > like the files to belong to another user and group then roots upon > syncing. Is this possible without having to make it more ssh like and > put the added overhaed into the transaction?I'm not sure what you want. -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt