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

Re: svn:needs-lock cannot set files to read only

From: Harun Vos <hvos_at_lynx.com.au>
Date: Thu, 23 Jul 2009 11:05:43 +0800

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 from
http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#FORCECREATEMODE
and
http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#FORCESECURITYMODE).

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&dsMessageId=2374645

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-07-23 05:05:58 CEST

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

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