You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Christopher Dunn <Ch...@Freescale.com> on 2004/09/02 17:21:13 UTC

'Operation not permitted' -- problem solved

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Problem:<span style="font-family: monospace;"><br>
</span>No-one but the repo creator can commit.<br>
<span style="font-family: monospace;"><br>
<span style="font-family: monospace;">bash% svn commit -m "" hello.c</span></span><br
 style="font-family: monospace;">
<span style="font-family: monospace;">Sending&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hello.c</span><br
 style="font-family: monospace;">
<span style="font-family: monospace;">Transmitting file data .svn:
Commit failed (details follow):</span><br
 style="font-family: monospace;">
<span style="font-family: monospace;"><span
 style="font-family: monospace;">svn: Can't move
'/proj/svn/db/current.3.tmp' to '/proj/svn/db/current': Operation not
permitted</span><br style="font-family: monospace;">
<br>
<br>
</span>Solution:<span style="font-family: monospace;"><br>
</span>Turn off the sticky bit.<br>
<span style="font-family: monospace;"><br>
chmod -R o-t </span><span style="font-family: monospace;"><span
 style="font-family: monospace;">/proj/svn<br>
<br>
</span></span>This is best when the repository is created, as otherwise
a few current.x.tmp files stick around, but it definitely solves the
problem.<br>
<br>
<br>
Apparently this is fixed (or gotten around) in the latest releases of
svn/apr, though we have not tested that yet.<br>
<br>
Thanks for the quick help.<br>
</body>
</html>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org