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

RE: Changing permissions after a checkout

From: Edelson, Justin <Justin.Edelson_at_mtvn.com>
Date: 2006-10-05 17:26:52 CEST

This doesn't answer your question exactly, but should the logs and tmp
directories be in version control at all? I suspect not. If you create
them with the correct permissions and add them to the parent directory's
svn:ignore list, your problem should go away.

-----Original Message-----
From: Paul Kilima [mailto:paul.kilima@gmail.com]
Sent: Thursday, October 05, 2006 11:21 AM
To: users@subversion.tigris.org
Subject: Changing permissions after a checkout

Hello,

Our PHP framework is versioned under subversion (*). Apache is
configured so that each developer has his own virtualhost pointing to
his working copy.

I need a way to force a chmod after a checkout, so that
<framework_root>/{logs,tmp}/ directories are writable by httpd
(alternatively, chown httpd would be fine, except only root can do
that). I couldn't find help in the archive or in the free svn book.

How can I do that? Can file permissions be versioned or is this the
return of the infamous post-checkout hook? :)

Thank you!

Paul

(*) latest subversion available from Redhat RHEL 4 RPM
(subversion-1.1.4-2.ent and subversion-devel-1.1.4-2.ent, clients
access server through svnserve).

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 5 17:28:02 2006

This is an archived mail posted to the Subversion Users mailing list.

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