LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-13-2003, 04:44 PM   #1
Reformed
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Rep: Reputation: 0
rsync, users, and groups


I'm using rsync with option "-a" and I noticed that on my local machine, permissions are preserved, but users and groups are not. My local system seems to override the remote files users and groups. Isn't option "-a" supposed to preserver these?
 
Old 12-13-2003, 05:29 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
It will preserve the UID and GID, therefore they will need to be consistent between systems.
 
Old 12-13-2003, 05:50 PM   #3
Reformed
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Original Poster
Rep: Reputation: 0
So if I upload the files that I rsync'd back to the original server, The perms will not be prevserved unless both machies have the same users and groups?
 
Old 12-13-2003, 09:00 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
They would be preserved if they were brought back to your server.
 
Old 12-13-2003, 09:18 PM   #5
Reformed
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Cool. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
groups and users twb2005 Linux - Newbie 7 10-10-2005 07:21 PM
users and groups twb2005 Linux From Scratch 2 10-10-2005 02:47 PM
users and groups twb2005 Red Hat 1 10-10-2005 02:47 PM
users and groups Red Squirrel Linux - Newbie 2 02-22-2004 08:37 PM
users and groups krfulton Linux - Security 1 01-05-2004 04:43 AM


All times are GMT -5. The time now is 08:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration