aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2014-07-30 19:51:23 +0200
committerElrond <elrond+mediagoblin.org@samba-tng.org>2014-07-30 19:51:23 +0200
commit138d934f014d2c9c54e247298318832e88dceadb (patch)
tree0d81399ac4d6dca0d98d65ca292cf6429883367e /docs/source
parent7bfc81b21af65c91dcbd9d33deae2f020d8bbbee (diff)
downloadmediagoblin-138d934f014d2c9c54e247298318832e88dceadb.tar.lz
mediagoblin-138d934f014d2c9c54e247298318832e88dceadb.tar.xz
mediagoblin-138d934f014d2c9c54e247298318832e88dceadb.zip
Make chown more generic.
Some distributions (ubuntu 14.04 maybe?) don't create a group for a new user. So change the "chown" to use the primary group of the user instead of forcing the group. This should do the right thing in more cases. Old: chown mediagoblin:mediagoblin New: chown mediagoblin:
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/siteadmin/deploying.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst
index 3f4a59cd..9dea239f 100644
--- a/docs/source/siteadmin/deploying.rst
+++ b/docs/source/siteadmin/deploying.rst
@@ -165,11 +165,11 @@ to the unpriviledged system account.
To do this, enter either of the following commands, changing the defaults
to suit your particular requirements::
- sudo mkdir -p /srv/mediagoblin.example.org && sudo chown -hR mediagoblin:mediagoblin /srv/mediagoblin.example.org
+ sudo mkdir -p /srv/mediagoblin.example.org && sudo chown -hR mediagoblin: /srv/mediagoblin.example.org
or (as the root user)::
- mkdir -p /srv/mediagoblin.example.org && chown -hR mediagoblin:mediagoblin /srv/mediagoblin.example.org
+ mkdir -p /srv/mediagoblin.example.org && chown -hR mediagoblin: /srv/mediagoblin.example.org
Install MediaGoblin and Virtualenv