Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Steven Mocking
December 20, 2006, 2:12 pm
rate this thread
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?
The rsync version on the windows machine is
rsync version 2.6.8 protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
Capabilities: 64-bit files, socketpairs, hard links, symlinks,
batchfiles, inplace, no IPv6, 64-bit system inums, 64-bit internal inums
Re: rsync shooting itself in the foot by setting permission 000 on directory
Steven Mocking wrote:
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.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum