Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-18-2009, 02:03 PM   #1
LQ Newbie
Registered: Mar 2007
Location: MD
Distribution: debian 5.0
Posts: 8

Rep: Reputation: 0
Unhappy Security issues with having a pub apache folder in home dir. svn post-commit workarou

Hey all. Im trying to setup one of my first deb servers and ive gone through a list of things that people generally thing are secure ways of doing things. im at a point where i have svn post-commits and i want to export automatically to the /var/www dir. Problem is the user that in svn'ing doesnt have permissions on that directory, but i dont want to give it NOPASSWD or something like that because i feel that would break the work ive done to make it secure. is there a security problem with running a pub html folder out of my home directory? Or does anyone have a mroe secure way of allowing my svn'ing user to export to /var/www then chmod www-data a couple of certain directories without using NOPASSWD and just su'ing or something. Thanks all for taking the time to read this.
Old 10-18-2009, 02:46 PM   #2
LQ Newbie
Registered: Mar 2007
Location: MD
Distribution: debian 5.0
Posts: 8

Original Poster
Rep: Reputation: 0
Ah! i just chowned /var/www to www-data:www-data and added my user to www-data group. That worked out on the post-commit but im still not sure if the www dir needs to be owned by root:root for security reasons or??? XD


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
[SOLVED] apache2 SVN post-commit script certificate error Matt202 Linux - Server 5 10-13-2009 03:55 AM
[SVN - post-commit hook] hook failed, did not exit cleanly G00fy Programming 0 01-21-2009 02:15 AM
svn post-commit hook script mcd Linux - Software 1 08-08-2008 08:34 AM
Copying to a folder in a users $HOME dir. jaredhanks Linux - Newbie 4 05-03-2008 12:17 AM
Uncomfortable security issues with Apache Folder Tree Palula Linux - Security 2 07-06-2006 10:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:01 AM.

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