You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bill Williams <bi...@qcsoftware.com> on 2011/04/04 19:43:41 UTC

Subversion and the uchg flag on Mac OS X

If this belongs in the develop group, let me know.

 

We have recently switched over to a Mac OS X 10.6.7 server using SMB so our
windows computers can access the files on the server.  To our dismay, we
have discovered that Mac OS X is turning on a flag called "uchg" whenever a
file is made read only which is what occurs with the entries file in the
.svn directory.  This flag make the file unchangeable (immutable is what
they call it).  Anyway, after that happens, any time subversion tries to
move tmp/entries to entries, it fails.

 

Anyway, I was wondering if anyone has dealt with this and perhaps could a
change be requested to perhaps change the mode on the file back to writable
before the move is attempted?

 

Thank you

 


RE: Subversion and the uchg flag on Mac OS X

Posted by Bill Williams <bi...@qcsoftware.com>.
> -----Original Message-----
> From: Stefan Sperling [mailto:stsp@elego.de]
> Sent: Monday, April 04, 2011 3:18 PM
> To: Bill Williams
> Cc: users@subversion.apache.org
> Subject: Re: Subversion and the uchg flag on Mac OS X
> 
> On Mon, Apr 04, 2011 at 03:05:43PM -0400, Bill Williams wrote:
> > Actually, I'm thinking the problem will raise it's head when I use
> > Subversion on my windows machine since that is what will manipulate
> the
> > workspace and that's where I'm currently have the problem.  Would
> this be
> > correct?
> >
> 
> From windows you can try the 1.7-based builds of TortoiseSVN (in
> the "latest" folder at http://nightlybuilds.tortoisesvn.net/)
> These already use the new working copy code.
> It's not recommended to use these builds on production working copies,
> but only for testing.

If I get a chance, I will give it a try and let you know.



Re: Subversion and the uchg flag on Mac OS X

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Apr 04, 2011 at 03:05:43PM -0400, Bill Williams wrote:
> Actually, I'm thinking the problem will raise it's head when I use
> Subversion on my windows machine since that is what will manipulate the
> workspace and that's where I'm currently have the problem.  Would this be
> correct?
> 

>From windows you can try the 1.7-based builds of TortoiseSVN (in
the "latest" folder at http://nightlybuilds.tortoisesvn.net/)
These already use the new working copy code.
It's not recommended to use these builds on production working copies,
but only for testing.

RE: Subversion and the uchg flag on Mac OS X

Posted by Bill Williams <bi...@qcsoftware.com>.
> -----Original Message-----
> From: Stefan Sperling [mailto:stsp@elego.de]
> Sent: Monday, April 04, 2011 2:02 PM
> To: Bill Williams
> Cc: users@subversion.apache.org
> Subject: Re: Subversion and the uchg flag on Mac OS X
> 
> On Mon, Apr 04, 2011 at 01:43:41PM -0400, Bill Williams wrote:
> > If this belongs in the develop group, let me know.
> >
> >
> >
> > We have recently switched over to a Mac OS X 10.6.7 server using SMB
> so our
> > windows computers can access the files on the server.  To our dismay,
> we
> > have discovered that Mac OS X is turning on a flag called "uchg"
> whenever a
> > file is made read only which is what occurs with the entries file in
> the
> > .svn directory.  This flag make the file unchangeable (immutable is
> what
> > they call it).  Anyway, after that happens, any time subversion tries
> to
> > move tmp/entries to entries, it fails.
> >
> >
> >
> > Anyway, I was wondering if anyone has dealt with this and perhaps
> could a
> > change be requested to perhaps change the mode on the file back to
> writable
> > before the move is attempted?
> >
> >
> >
> > Thank you
> 
> This is already known.
> See http://subversion.tigris.org/issues/show_bug.cgi?id=3053
> 
> The hope is that the new working copy meta data store in 1.7.x will fix
> this.
> 
> If you have the time you could help verifying if this problem has
> indeed been
> fixed by compiling Subversion's trunk code on Mac OS X and checking out
> a
> working copy with the resulting binary. Or wait until pre-release
> binaries for Mac OS X are available for testing and check back then.
> Thanks!

Actually, I'm thinking the problem will raise it's head when I use
Subversion on my windows machine since that is what will manipulate the
workspace and that's where I'm currently have the problem.  Would this be
correct?



Re: Subversion and the uchg flag on Mac OS X

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Apr 04, 2011 at 01:43:41PM -0400, Bill Williams wrote:
> If this belongs in the develop group, let me know.
> 
>  
> 
> We have recently switched over to a Mac OS X 10.6.7 server using SMB so our
> windows computers can access the files on the server.  To our dismay, we
> have discovered that Mac OS X is turning on a flag called "uchg" whenever a
> file is made read only which is what occurs with the entries file in the
> .svn directory.  This flag make the file unchangeable (immutable is what
> they call it).  Anyway, after that happens, any time subversion tries to
> move tmp/entries to entries, it fails.
> 
>  
> 
> Anyway, I was wondering if anyone has dealt with this and perhaps could a
> change be requested to perhaps change the mode on the file back to writable
> before the move is attempted?
> 
>  
> 
> Thank you

This is already known.
See http://subversion.tigris.org/issues/show_bug.cgi?id=3053

The hope is that the new working copy meta data store in 1.7.x will fix this.

If you have the time you could help verifying if this problem has indeed been
fixed by compiling Subversion's trunk code on Mac OS X and checking out a
working copy with the resulting binary. Or wait until pre-release
binaries for Mac OS X are available for testing and check back then. Thanks!