Le Sun, 14 Oct 2007 20:40:02 +0000, KLEIN Stephane a écrit :
> 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 have resolved my issue : I've configured samba to always set file on
read write permission. The smb.conf paramaters are follow :
force create mode = 0666
force directory mode = 0777
Now subversion commit work well on MacOSX and GNU/Linux.
Regards,
Stephane
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 15 17:55:57 2007