FW: Rsync question on version 3.0.4

Jan Alphenaar jan.alphenaar@dotcolour.com
Sat May 23 21:29:00 GMT 2009


FYI

-----Oorspronkelijk bericht-----
Van: Jan Alphenaar [mailto:jan.alphenaar@dotcolour.com] 
Verzonden: zaterdag 23 mei 2009 20:18
Aan: 'Lapo Luchini'
Onderwerp: RE: Rsync question on version 3.0.4

Hi Lapo,

Thanks for giving an answer.

Without the -p option the rights on the directory on my local PC look pretty strange to me (000). Too bad I was looking to this directory with Windows Explorer only and not with a CygWin window, otherwise I could have figured this out myself...
 
With the -p option the rights come from the serverside, which is better. It now seems to work correctly

Thanks a lot for helping me out.

Regards,

Jan

-----Oorspronkelijk bericht-----
Van: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] Namens Lapo Luchini
Verzonden: zaterdag 23 mei 2009 13:31
Aan: cygwin@cygwin.com
Onderwerp: Re: Rsync question on version 3.0.4

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/



--
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