Adjust permissions for obs 2.9 rails app.

Signed-off-by: Andrew Lee (李健秋)'s avatarAndrew Lee (李健秋) <ajqlee@debian.org>
parent 05a8ba4c
......@@ -22,6 +22,8 @@ case "$1" in
chown www-data:root /usr/share/obs/api/config/environment.rb
chown -R www-data:www-data /var/log/obs/
chown -R www-data:www-data /var/cache/obs/tmp/
chown obsapi:www-data /var/cache/obs/tmp/
chmod 775 /var/cache/obs/tmp/
chown -R www-data:www-data /usr/share/obs/api/db
chown -R www-data:www-data /usr/share/obs/api/public
chown www-data:www-data /etc/obs/api/config/production.sphinx.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment