LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-17-2004, 09:12 PM   #1
becks.lin
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Rep: Reputation: 0
Unhappy rsync permission


i want to use rsync to backup all the permission of my file ,just like the own,group,link ,permission,time ____
i use rsync -abvS --backupdir=./oldbk

but ,when i check it ,i found that the files 'own and group both are nobody ?

why cause that?

the files is belong to becks ,but the backup one is nobody .

and then i copy passwd group shadow from the client to server .

but still nobody ~

help me ~please~~tks~

Last edited by becks.lin; 03-18-2004 at 02:14 AM.
 
Old 03-17-2004, 10:18 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
TRY THE MAN COMMAND

if you were to read the manual of rsync 'man rsync'

you would know that -o -g backup the owner and group permissions.
 
Old 03-17-2004, 10:19 PM   #3
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
this is not an error or a problem, its laziness.
 
Old 03-18-2004, 01:09 AM   #4
becks.lin
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by AutOPSY
this is not an error or a problem, its laziness.

please man rsync first youseft :

-a, --archive archive mode, equivalent to -rlptgoD

but thanks for your reply~

my ploblem still ~

i think that may be the rsynv.conf cause it ~


rsync.conf


uid = nobody
gid = nobody

max connections = 4
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log

[doc]
path = /home/bk/doc
ignore errors
read only = no

auth users =doc
secrets file = /etc/rsyncd.secrets
 
Old 03-18-2004, 08:20 PM   #5
becks.lin
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Original Poster
Rep: Reputation: 0
NO BODY HELP ME ?~
 
Old 03-18-2004, 09:51 PM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Quote:
-a, --archive archive mode, equivalent to -rlptgoD
Well, you could try it using the individual commands:
rsync -avzrpog .........
 
Old 03-22-2004, 08:45 PM   #7
becks.lin
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Original Poster
Rep: Reputation: 0
still
 
  


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
Rsync sant25 Linux - General 2 09-02-2005 04:34 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM
Rsync help tricky1234 Solaris / OpenSolaris 3 09-07-2004 11:08 AM
rsync-2.4.6-2 santha Linux - Software 1 08-25-2004 05:35 AM
Rsync buttersoft Linux - Software 4 11-05-2003 12:37 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration