LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

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


Hi

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?
 
  


Reply


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 03:02 AM
Subversion Post-Commit hook script... will not run mattp52 Linux - Server 2 02-10-2008 01:33 PM
subversion post-commit twantrd Linux - Software 0 02-13-2007 02:37 PM
Subversion hooks, auto-commit for all users doesn't work garnser Linux - General 0 02-12-2007 02:47 PM
subversion post-commit hook problems pajamabama Linux - Server 2 01-19-2007 05:14 PM


All times are GMT -5. The time now is 08:42 PM.

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