Afficher un message
Vieux 23/12/2006, 15h58   #2
Nico
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: rsync shooting itself in the foot by setting permission 000 on directory


Steven Mocking wrote:

> During a backup of a large directory from a Windows XP machine to a
> Linux machine, rsync sets permissions on a directory to 000. This
> effectively prevents it from writing the subdirectories and files to it.
>
> The user my rsync script runs as on the winbox does have access to these
> files, so even when preserving permissions, it should be accessible for
> the rsync user on the target machine. I could probably work around this
> by not using the --perms option and setting an umask at the receiving
> end, but it's not very elegant.
>
> Any other ideas? Is this even a feature?


Rsync runs extremely poorly on Windows machines, in my experience. I'd
suggest you make sure to use "rsync -avvH" to do a bit of testing, but
even better do a Samba mount of the directory on the Linux machine, and
rsync *THAT* to your local Linux box. And look into using "rsnapshot"
to make it a bit safer and faster.

  Réponse avec citation
 
Page generated in 0,05734 seconds with 9 queries