Rsync question on version 3.0.4

Lapo Luchini lapo@lapo.it
Sat May 23 11:30:00 GMT 2009


Jan Alphenaar wrote:
> When I copy over a directory from my server to my local pc with rsync, it is
> not possible to open the local directory

Do you mean the origin has 644 files and the destination has 000 file
permissions?

Also as you're not using -p the destination file permission are not
copied from the origin ones:

  When this option is off, permissions are set as follows:

  o  Existing files (including updated files) retain their existing
     permissions, though the −−executability option might change just
     the execute permission for the file.

  o  New files get their “normal” permission bits set to the source
     file’s permissions masked with the receiving directory’s default
     permissions (either the receiving process’s umask, or the
     permissions specified via the destination directory’s default ACL),
     and their special permission bits disabled except in the case where
     a new directory inherits a setgid bit from its parent directory.

-- 
Lapo Luchini - http://lapo.it/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list