~mediagoblin/mediagoblin#23: 
Provide an easier way to get the permissions right in deployment

For example:

find /opt/mediagoblin/user_dev/crypto -type d -exec chmod 750 {} \;
find /opt/mediagoblin/user_dev/crypto -type f -exec chmod 640 {} \;
find /opt/mediagoblin/user_dev/crypto -type d -exec chmod 750 {} \;
find /opt/mediagoblin/user_dev/crypto -type f -exec chmod 640 {} \;

Plus also need chown. Can we spell out the chmod commands to avoid the numbers? These are totally opaque to new users eg. "grwx"?

Status
REPORTED
Submitter
~sturm
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
No labels applied.

~sturm 2 years ago

I've updated the commands at the bottom of the "Nginx as a reverse proxy section" to include the above chmods, plus one for fixing the virtualenv bin directory.

Register here or Log in to comment, or comment via email.