rsync permissions problem
George Daflidis-Kotsis
gdk at thus.net
Mon Dec 6 17:49:43 EET 2004
On Mon, Dec 06, 2004 at 05:13:01PM +0200, Steve Stavropoulos wrote:
> 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.
Emena pantws mou exei tuxei rsync na trexei ws root ki enw to ownership
einai swsto de mporei na orisei ta swsta permissions. Bebaia auto egine
se Solaris 9 ki oxi se Linux.
--
[george daflidis-kotsis - systems admin,web/e-commerce - gdk at thus.net]
More information about the Linux-greek-users
mailing list