LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rsync (https://www.linuxquestions.org/questions/linux-software-2/rsync-159188/)

becks.lin 03-17-2004 08:12 PM

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~

AutOPSY 03-17-2004 09:18 PM

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.

AutOPSY 03-17-2004 09:19 PM

this is not an error or a problem, its laziness.

becks.lin 03-18-2004 12:09 AM

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

becks.lin 03-18-2004 07:20 PM

NO BODY HELP ME ?~

homey 03-18-2004 08:51 PM

Quote:

-a, --archive archive mode, equivalent to -rlptgoD
Well, you could try it using the individual commands:
rsync -avzrpog .........

becks.lin 03-22-2004 07:45 PM

still


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