[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] permission denied error when using rsync



Hi all,

I am trying to back-up one of my raq3 server into another raq3 server using
rsync with ssh.
I am running rsync as daemon in source server & issuing commands on the
destination server.

My rsyncd.conf file is as follows:

motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock

[simple_path_name]
path = /var/vacation
comment = backup for raq003 server
uid = nobody
gid = nobody
read only = no
list = yes
secrets file = /etc/rsyncd.scrt

But I have following 2 problems when try copy a directory using the
following command:

rsync -avz -e ssh admin@xxxxxxxxxxxxx:/var/vacation /tmp/raq3-backup

1) I get following error message:

   "send_files failed to open /var/vacation/david.msg: Permission denied"

   The permissin details for this file in the source server is as follows:

   -rw-r-----   1 alextan  mail          316 Sep 14 21:50 david.msg

    How to solve this problem?

2) I get some numbers insteed of user name as follows:

   -rw-r-----    1 110      mail            1 May  7 14:15 admin.msg

    Can I ignore this?

Thanks & regards

Kajan