You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Phillip Novess <pn...@mac.com> on 2006/02/07 19:54:02 UTC

Trouble with locks and permissions

Hello,

I was wondering if anybody has any setup advice for my working copies.  
Specifically, I am working on web based projects. I created a 
repository, imported my initial code, checked out a working copy. The 
working copy is actually my document root for a virtual host.

The problem is I get lock problems on my working copy.   The program 
uses Apache/PHP to create cache and prefs files. Since these are newly 
created by the application it wreaks havoc on my working copy. These 
prefs files are necessary for my revision. The only way I can get it to 
work is if I copy the auto generated files and directories off the 
server say using samba, then create them myself and add the files back 
in manually.  Then all the locks are gone and I can checkin my code.

This is why I'm thinking it's a permissions issue. However if I just do 
a chmod and chown i still have problems.  And forget about svn cleanup. 
That's about a joke.

Anybody have ideas?

Thanks in advance,
Phill


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

Re: Trouble with locks and permissions

Posted by Lares Moreau <la...@gmail.com>.
On Tue, 2006-02-07 at 13:49 -0700, Phillip Novess wrote:
> Hey that sounds like a good idea.  It is running off of the repo but it 
> is just  a development instance. I'l do an export for production. And I 
> do need these files to be checked in but I can manually do it. Will 
> svn:ignore allow me to manually check them in when I need to?
> 
> Thanks,
> phill

AKAIK, svn add overrides svn:ignore, so Yes.

-Lares

> 
> 
> On Feb 7, 2006, at 1:12 PM, Lares Moreau wrote:
> 
> On Tue, 2006-02-07 at 12:54 -0700, Phillip Novess wrote:
> > Hello,
> >
> > I was wondering if anybody has any setup advice for my working copies.
> > Specifically, I am working on web based projects. I created a
> > repository, imported my initial code, checked out a working copy. The
> > working copy is actually my document root for a virtual host.
> >
> > The problem is I get lock problems on my working copy.   The program
> > uses Apache/PHP to create cache and prefs files. Since these are newly
> > created by the application it wreaks havoc on my working copy. These
> > prefs files are necessary for my revision. The only way I can get it to
> > work is if I copy the auto generated files and directories off the
> > server say using samba, then create them myself and add the files back
> > in manually.  Then all the locks are gone and I can checkin my code.
> >
> > This is why I'm thinking it's a permissions issue. However if I just do
> > a chmod and chown i still have problems.  And forget about svn cleanup.
> > That's about a joke.
> >
> > Anybody have ideas?
> 
> Does the site run on a working copy of the repo?
> 
> If so, you could add the cache and prefs to svn:ignore, if you don't
> need them.
> 
> -Lares
-- 
Lares Moreau <la...@gmail.com>  | LRU: 400755 http://counter.li.org
lares/irc.freenode.net                 |               ::0 Alberta, Canada
Public Key: 0D46BB6E @ subkeys.pgp.net |          Encrypted Mail Preferred
Key fingerprint = 0CA3 E40D F897 7709 3628  C5D4 7D94 483E 0D46 BB6E

Re: Trouble with locks and permissions

Posted by Lares Moreau <la...@gmail.com>.
On Tue, 2006-02-07 at 12:54 -0700, Phillip Novess wrote:
> Hello,
> 
> I was wondering if anybody has any setup advice for my working copies.  
> Specifically, I am working on web based projects. I created a 
> repository, imported my initial code, checked out a working copy. The 
> working copy is actually my document root for a virtual host.
> 
> The problem is I get lock problems on my working copy.   The program 
> uses Apache/PHP to create cache and prefs files. Since these are newly 
> created by the application it wreaks havoc on my working copy. These 
> prefs files are necessary for my revision. The only way I can get it to 
> work is if I copy the auto generated files and directories off the 
> server say using samba, then create them myself and add the files back 
> in manually.  Then all the locks are gone and I can checkin my code.
> 
> This is why I'm thinking it's a permissions issue. However if I just do 
> a chmod and chown i still have problems.  And forget about svn cleanup. 
> That's about a joke.
> 
> Anybody have ideas?

Does the site run on a working copy of the repo?

If so, you could add the cache and prefs to svn:ignore, if you don't
need them.

-Lares
-- 
Lares Moreau <la...@gmail.com>  | LRU: 400755 http://counter.li.org
lares/irc.freenode.net                 |               ::0 Alberta, Canada
Public Key: 0D46BB6E @ subkeys.pgp.net |          Encrypted Mail Preferred
Key fingerprint = 0CA3 E40D F897 7709 3628  C5D4 7D94 483E 0D46 BB6E