Apologies if this is an answered question somewhere else.
I have set up BackupPC on a server to service other machines in a small
local network. For one of the machines "flyhalf", I am using rsyncd
under xinetd daemon. flyhalf is a fedora Core 8 machine. backupPC is
Ubuntu Gutsy.
rsyncd.conf on flyhalf looks like this:
-------------
log file=/var/log/rsyncd.log
auth users=archive
secrets file =/etc/rsyncd.sec
[flyhalf-backup-logs]
path=/var/log
read only=1
[flyhalf-backup-homes]
path=/home
read only=1
------------
flyhalf.pl on the backupPC looks like this
------------
$Conf{XferMethod} = 'rsyncd';
$Conf{XferLogLevel} = '1';
$Conf{ClientCharset} = '';
$Conf{RsyncShareName} = [
'flyhalf-backup-logs',
'flyhalf-backup-homes'
];
$Conf{RsyncdClientPort} = '873';
$Conf{RsyncdUserName} = 'archive';
$Conf{RsyncdPasswd} = '******';
$Conf{PingCmd} = '$pingPath -c 1 $host';
--------------
(RsyncdPasswd is the same as in the secrets file on the target pc)
However, when I attempt a backup, like this incremental below I get
permission denied errors so:
---------------
incr backup started back to 2007-12-28 14:48:14 (backup #0) for
directory flyhalf-backup-homes
Connected to 192.168.10.198:873, remote version 29
Negotiated protocol version 28
Connected to module flyhalf-backup-homes
Sending args: --server --sender --numeric-ids --perms --owner --group -D
--links --hard-links --times --block-size=2048 --recursive . .
Remote[1]: rsync: opendir "/guy" (in flyhalf-backup-homes) failed:
Permission denied (13)
Remote[1]: rsync: opendir "/julia" (in flyhalf-backup-homes) failed:
Permission denied (13)
Remote[1]: rsync: opendir "/patrick" (in flyhalf-backup-homes) failed:
Permission denied (13)
Remote[1]: rsync: opendir "/akdpa732" (in flyhalf-backup-homes) failed:
Permission denied (13)
Xfer PIDs are now 15356
create d 755 0/0 4096 .
create d 700 500/500 4096 akdpa732
create d 700 502/502 4096 guy
create d 700 501/501 4096 julia
create d 700 503/503 4096 patrick
Done: 0 files, 0 bytes
--------------
I believe that rsyncd is running as root (or at least xinetd is) and
thought that root could see everything. Is there something else I need
to do to get permissioning right for these user's home and data folders?
TIA
Ashley
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/