docs: Added handling of user_dev permissions
authorJim Campbell <jcampbell@gnome.org>
Tue, 26 May 2015 05:40:24 +0000 (00:40 -0500)
committerJim Campbell <jcampbell@gnome.org>
Tue, 26 May 2015 05:44:10 +0000 (00:44 -0500)
The user_dev directory gets created when users get established
and they start uploading media. However, the permissions aren't
correct on the directory as it gets created.

As a workaround, we create the directory at this stage, and then
set the proper permissions.

See this mailing list post for more information:
http://lists.mediagoblin.org/pipermail/devel/2015-May/001201.html

docs/source/siteadmin/deploying.rst

index 13429fc44f6a0fe4d961a2d3175ed5778229b332..673efb30d51858f3ed8804b34a0d5d367fa3c03b 100644 (file)
@@ -246,6 +246,16 @@ Set up the hacking environment::
 
     $ ./bootstrap.sh && ./configure && make
 
+Create and set the proper permissions on the ``user_dev`` directory.
+This directory will be used to store uploaded media files::
+
+    $ mkdir user_dev && chmod 750 user_dev
+
+Assuming you are going to deploy with FastCGI, you should also install
+flup::
+
+    $ ./bin/easy_install flup
+
 The above provides an in-package install of ``virtualenv``. While this
 is counter to the conventional ``virtualenv`` configuration, it is
 more reliable and considerably easier to configure and illustrate. If
@@ -270,12 +280,7 @@ your preferred method.
    but note that no ``./bin/python`` will be set up for you via this
    method, since no virtualenv is set up for you!)
 
-Assuming you are going to deploy with FastCGI, you should also install
-flup::
-
-    $ ./bin/easy_install flup
-
-This concludes the initial configuration of the development
+This concludes the initial configuration of the MediaGoblin 
 environment. In the future, when you update your
 codebase, you should also run::