allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [2/2] git commit: [#7316] ensure proper perms for /srv dirs so that apache2/git-http-backend can read
Date Fri, 18 Apr 2014 13:52:59 GMT
[#7316] ensure proper perms for /srv dirs so that apache2/git-http-backend can read


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/45733f0c
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/45733f0c
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/45733f0c

Branch: refs/heads/db/7316
Commit: 45733f0c36b37c7ecf52eb87f590d6f1a15b6f2d
Parents: 5901e15
Author: Dave Brondsema <dave@brondsema.net>
Authored: Thu Apr 17 16:49:31 2014 -0400
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Thu Apr 17 16:49:31 2014 -0400

----------------------------------------------------------------------
 Allura/docs/scm_host.rst                      | 4 ++--
 INSTALL.markdown                              | 1 +
 vagrant/manifests/ubuntu-1204-server-amd64.pp | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/45733f0c/Allura/docs/scm_host.rst
----------------------------------------------------------------------
diff --git a/Allura/docs/scm_host.rst b/Allura/docs/scm_host.rst
index 3a80490..89c8108 100644
--- a/Allura/docs/scm_host.rst
+++ b/Allura/docs/scm_host.rst
@@ -41,8 +41,8 @@ and subsequent chapters.
 
 .. code-block:: bash
 
-    sudo mkdir /srv/git
-    sudo chown allura:allura /srv/git  # or other user, as needed (e.g. "vagrant")
+    sudo chmod 775 /srv/*  # make sure apache can read the repo dirs
+    sudo apt-get install apache2
     sudo a2enmod proxy rewrite
     sudo vi /etc/apache2/sites-available/default
 

http://git-wip-us.apache.org/repos/asf/allura/blob/45733f0c/INSTALL.markdown
----------------------------------------------------------------------
diff --git a/INSTALL.markdown b/INSTALL.markdown
index e890203..b5e984c 100644
--- a/INSTALL.markdown
+++ b/INSTALL.markdown
@@ -119,6 +119,7 @@ The default configuration stores repos in `/srv`, so we need to create
those dir
 
     sudo mkdir /srv/{git,svn,hg}
     sudo chown $USER /srv/{git,svn,hg}
+    sudo chmod 775 /srv/{git,svn,hg}
 
 If you don't have `sudo` permission or just want to store them somewhere else, change the
`/srv` paths in `development.ini`
 

http://git-wip-us.apache.org/repos/asf/allura/blob/45733f0c/vagrant/manifests/ubuntu-1204-server-amd64.pp
----------------------------------------------------------------------
diff --git a/vagrant/manifests/ubuntu-1204-server-amd64.pp b/vagrant/manifests/ubuntu-1204-server-amd64.pp
index 11fd2d0..ea6abfa 100644
--- a/vagrant/manifests/ubuntu-1204-server-amd64.pp
+++ b/vagrant/manifests/ubuntu-1204-server-amd64.pp
@@ -119,5 +119,5 @@ file { [ "/srv/git", "/srv/hg", "/srv/svn" ]:
   ensure => "directory",
   owner => "vagrant",
   group => "vagrant",
-  mode   => 770,
+  mode   => 775,
 }


Mime
View raw message