Merge pull request #1 from andreipoe/fix-tmp-perms

Fix permission error preventing upload of large pastes.
This commit is contained in:
Jeroen Geusebroek
2017-07-07 16:36:03 +02:00
committed by GitHub

View File

@@ -7,5 +7,6 @@ if [ ! -f /privatebin/cfg/conf.ini ]; then
cp /privatebin/conf.ini.sample /privatebin/cfg/conf.ini
fi
chown -R privatebin:privatebin /privatebin /var/run/php-fpm.sock /var/lib/nginx /tmp
chown -R privatebin:privatebin /privatebin /var/run/php-fpm.sock /var/lib/nginx /tmp /var/tmp/nginx
supervisord -c /usr/local/etc/supervisord.conf