Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-03-2012, 03:25 PM   #1
LQ Newbie
Registered: May 2008
Posts: 17

Rep: Reputation: 0
Subversion post-commit auto update folder permissions


I've got a dev server with SVN on it.

Normaly we all work well without having to update a folder because it's not a webbased projet.

Now we have a webbased projet i'd like to "auto checkout" to a web folder after each commit.

I understand that I go to the repos/hooks
create or copy post-commit
ad a +x (exec) on it

have something like

/usr/bin/svn checkout /var/www/webfolder

but i'm confused as for permissions

Apache have +r+w in the web folder and the repos folder (the web folder have group "web" and are group +r, apache has web group)

but i seam to have some permissions problem still.

when exec a post-commit, who should have what permissions?
Apache? root? svn user?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subversion - post-commit hook Braynid Linux - Software 1 07-02-2008 04:02 AM
Subversion Post-Commit hook script... will not run mattp52 Linux - Server 2 02-10-2008 02:33 PM
subversion post-commit twantrd Linux - Software 0 02-13-2007 03:37 PM
Subversion hooks, auto-commit for all users doesn't work garnser Linux - General 0 02-12-2007 03:47 PM
subversion post-commit hook problems pajamabama Linux - Server 2 01-19-2007 06:14 PM

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration