I have an update to my problem and it seems to centre around the
smb.conf file in particular the line:
force create mode = 0600 which forces all new files created to have
read and write privileges for the user.
This fix was put into place because of this error message "error
processing command 'committed' in ... can't move" when trying to
commit files to SVN:
Toroise SVN
In directory ******************
Error processing command ‘committed’ in ****************
Can’t move
‘W:\**************\.svn\props\*************svn-work’
To
‘W:\**************\.svn\prop-base\*************svn-base’;
Access is denied
By adding this force create mode = 0600 to the smb.conf file for the
network shared area the commit function correctly.
However, by solving one problem I then created another for myself as
the force create mode = 0600 forced all the files in my working copy
to have -rw-r--r-- (read/write access). As I have specified in my
torviseSVN conifg file that all files are to have the property
svn:needs-lock ,to stop user from editing a file without acquiring the
lock for the file, the fix overrides this and makes all files red/
write. This defies the point of the need lock property and I find
myself in a catch 22 situation.
To go a bit deeper into the problem the files within the .svn
directories are created with –r--r--r-- (read only) when the smb.conf
file does not contain the force create mode = 0600 and is -rw-r--r--
(read/write) when the force create is present. When I try to move a
file in windows explorer from .svn/props to .svn/prop-base when the
files are read only I recive a prompt:
Are you sure you want to move the read-only file ‘text.txt’? Yes/No
But when I try to do the same move when the file is read/write there
is no prompt and file moves straight away.
Could it be that the tortiseSVN runs into the same prompt when trying
to do the commit procedure and therefore falls over?
If any could shed any light on this matter it would be most helpful.
Im currently running samba version 3.0.25a with tortiseSVN 1.6.3 build
but am in the process of trying to get my sys admin to upgrade the
samba version in the hope that this error will go away!
On Jul 23, 10:35 am, dan stead <daniel.st..._at_bt.com> wrote:
> Thank you for the replies.
>
> The spelling error was in the post the config file has the correct
> spelling.
>
> It turns out that I can set the files to read only in UNIX manually
> but I can’t set the files to read only via the windows explorer
> dialogue. Therefore this must be a sys admin problem and not a problem
> with tortoiseSVN.
>
> Now I just have to work out why my network share on unix can no longer
> make files read only via the windows explorer dialogue.
>
> Thanks for your help.
>
> On Jul 23, 4:05 am, Harun Vos <h..._at_lynx.com.au> wrote:
>
>
>
>
>
> > dan stead wrote:
> > > I have installed one fix (see below) in the smb.conf file which fixed
> > > a previous problem when adding new files to the repository:
>
> > > [svn]
> > > Path = /svn
> > > Valid users = blah dah spare
> > > Read only = no
> > > Create mask = 0644
> > > Force create mod = 0600
> > > Security mask = 0555
> > > Force securtity mode = 0600
> > > Directory mask = 0770
>
> > > I don’t think this has anything to do with my problem but it is the
> > > last fix that I had made before these problems began.
>
> > Hi Dan,
>
> > This is a bit off-topic for this list, but that looks like you've
> > configured Samba to always force all files to be read/write by owner.
> > The "force security mode" setting says:
> > > Essentially, 'one' bits in this mask may be treated as a set of bits
> > that, when modifying security on a file, the user has always set to be on.
> > "Force create mode" seems to do the same thing, but only when files are
> > created.
> > (Taken fromhttp://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#FORCEC...
> > andhttp://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#FORCES...).
>
> > Are you able to manually set the files read-only, via the Windows
> > Explorer properties dialog?
>
> > Harun Trefry
>
> > ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessa...
>
> > To unsubscribe from this discussion, e-mail: [dev-unsubscr..._at_tortoisesvn.tigris.org].- Hide quoted text -
>
> > - Show quoted text -
>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessa...
>
> To unsubscribe from this discussion, e-mail: [dev-unsubscr..._at_tortoisesvn.tigris.org].- Hide quoted text -
>
> - Show quoted text -
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2374853
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-07-23 17:14:32 CEST