[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: dan stead <daniel.stead_at_bt.com>
Date: Thu, 23 Jul 2009 02:35:20 -0700 (PDT)

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-07-23 11:36:36 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.