[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Committing file makes it unreadable by group and other

From: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: Fri, 30 May 2008 07:17:05 +0200

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?

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

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 07:17:15 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.