This is the mail archive of the
cygwin
mailing list for the Cygwin project.
FW: Rsync question on version 3.0.4
- From: "Jan Alphenaar" <jan dot alphenaar at dotcolour dot com>
- To: <cygwin at cygwin dot com>
- Date: Sat, 23 May 2009 23:29:36 +0200
- Subject: FW: Rsync question on version 3.0.4
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/