Jean-Marc van Leerdam wrote:
> Hi Bob,
>
> On 30/05/2008, Hucker, Bob <bhucker_at_bayareanewsgroup.com> wrote:
>> When I commit a file, it sets the permissions on my local copy (on a
>> Windows file system) in such a way that cygwin shows the file as not
>> readable by group or other. Why?
Is it that the permissions are inherited from the parent directory?
> The file handling is done by the subversion libraries, not TSVN
> itself. When using cygwin, you should also be using a cygwin
> subversion client. Mixing a native windows client (TSVN) with cygwin
> can give you exactly the issue you are reporting.
I disagree. By that argument you should be using a Cygwin text editor
aswell. People use Cygwin so they can mix Unix tools (typically gcc
etc) and Windows tools (typically editors, version control etc) in the
same environment. We use TortoiseSVN, a Windows text editor, and a
Windows difference viewer, but all our build process happens in Cygwin.
If I wanted a 100% unix environment I'd use Linux.
>> I constantly have to issue the command "chmod -R og+r <dirname>" to get
>> my permissions right so that my local Apache server on the PC will read
>> the files correctly.
>>
>
> Looks like files are being created with a 'rwx------' permission
> instead of 'rwxr--r--'. In unix you control this with the UMASK
> environment variable. I have no experience with cygwin, so I don't
> know if there is such a thing as a umask equivalent available. But if
> there is, you should make sure that it is set to default to group and
> world readable
>
My files are always checked out with drwxr-xr-x+ using TSVN. Note that
if you do use the Cygwin command line client for whatever reason (and
this should occur in a *different* working copy) you will need to set
svn:executable on executable files or Cygwin will not check them out
with executable permissions.
> HTH
>
> Regards,
>
> Jean-Marc
>
> ----------------
> ___
> // \\ @@ "De Chelonian Mobile"
> / \_/ \/._) TortoiseSVN
> <\_/_\_/ / The coolest Interface to (Sub)Version Control
> /_/ \_\ Check out http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-05-30 17:00:37 CEST