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

Re: how can I configure "svn commit" to don't setting on readonly the files contained in .svn directory ?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-10-14 23:31:10 CEST

On 10/14/07, KLEIN Stephane <stephane@harobed.org> wrote:
> Hi,
>
> I share one working copy between two environments (via samba) : svn
> command line on Linux and smartSvn on MacOSX.
>
> Unfortunately when I launch on commit on Linux with svn commant line,
> next when I launch commit on MacOSX with smartsvn I have some error.
>
> I have understood what it's the fault : on Linux, after a commit, the
> files contained in .svn directory are set on readonly, on MacOSX these
> files are set on readwrite. Example :
>
> Files after MacOSX commit :
>
> harobed@harobed:~/svn/foo$ ls .svn/ -lha
> total 36K
> drwxr-xr-x 6 harobed harobed 4,0K 2007-09-07 15:05 .
> drwxr-xr-x 27 harobed harobed 4,0K 2007-09-10 19:43 ..
> -rw-r--r-- 1 harobed harobed 61 2007-09-07 15:04 all-wcprops
> -rw-r--r-- 1 harobed harobed 575 2007-09-07 15:04 entries
> -rw-r--r-- 1 harobed harobed 2 2007-08-13 17:38 format
> drwxr-xr-x 2 harobed harobed 4,0K 2007-08-13 17:38 prop-base
> drwxr-xr-x 2 harobed harobed 4,0K 2007-08-13 17:38 props
> drwxr-xr-x 2 harobed harobed 4,0K 2007-08-13 17:38 text-base
> drwxr-xr-x 5 harobed harobed 4,0K 2007-09-07 15:04 tmp
>
> Same directory after Linux commit :
>
> drwxr-xr-x 6 harobed harobed 4,0K 2007-09-07 15:05 .
> drwxr-xr-x 27 harobed harobed 4,0K 2007-09-10 19:43 ..
> -r--r--r-- 1 harobed harobed 61 2007-09-07 15:04 all-wcprops
> -r--r--r-- 1 harobed harobed 575 2007-09-07 15:04 entries
> -r--r--r-- 1 harobed harobed 2 2007-08-13 17:38 format
> drwxr-xr-x 2 harobed harobed 4,0K 2007-08-13 17:38 prop-base
> drwxr-xr-x 2 harobed harobed 4,0K 2007-08-13 17:38 props
> drwxr-xr-x 2 harobed harobed 4,0K 2007-08-13 17:38 text-base
> drwxr-xr-x 5 harobed harobed 4,0K 2007-09-07 15:04 tmp
>
> You can see than smartSvn on MacOSX don't set all-wcprops, entries,
> format on readonly. If these files are set on readonly and I launch
> commit on MacOSX, it fails (can write these files)!
>
> My question : how can I configure svn commit line to don't set these
> files on readonly after commit ?

I suspect that the problem is not with Subversion, but how the 2 OSes
are interacting with the file permissions via Samba.

Don't share working copies between operating systems. It is not
recommended at all, nor supported. This is the absolute best way to
avoid such "problems".

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Oct 14 23:31:30 2007

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

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