rsync permissions problem

Steve Stavropoulos steve at math.upatras.gr
Mon Dec 6 17:13:01 EET 2004


On Mon, 6 Dec 2004, Alexandros Papadopoulos wrote:

> alex at debian:/data/alex/backup$ ls -lan 192.168.1.1/srv
> total 8
> drwxr-xr-x   2 1000 1000 4096 Apr 26  2004 .
> drwxr-xr-x  24 1000 1000 4096 Nov 17 21:01 ..
> 
> ...ενώ στο remote μηχάνημα τα πράγματα είναι αρκετά διαφορετικά:
> alex at 192.168.1.1:~$ ls -lan /srv
> total 2
> drwxr-xr-x   2 0 0 1024 Apr 26  2004 .
> drwxr-xr-x  27 0 0 1024 Nov 17 21:01 ..
> 
> Σύμφωνα με το rsync(8) με το -a:
> The files are transferred in "archive" mode, which  ensures  that  
> symbolic  links, devices,  attributes,  permissions, ownerships, etc. 
> are preserved in the transfer.
>  
> Τι κάνω λάθος;
> 

 Na eisai sigouros oti an to rsync mporouse na kanei chown ta arxeia sou 
ston user pou 8es, 8a to ekane. Dhladh gia na krathsei to ownership, to 
rsync 8a prepei na trexei me root privileges.




More information about the Linux-greek-users mailing list