titoko / lychee_ynh

0 stars 9 forks source link

File permissions don't allow uploading pictures with lychee #2

Open michielbdejong opened 9 years ago

michielbdejong commented 9 years ago

When trying to upload a picture with lychee, these errors occurs:

Error 500: Wrong permissions for 'uploads/big' (777 required)
Error 501: Wrong permissions for 'uploads/thumb' (777 required)
Error 502: Wrong permissions for 'uploads/import' (777 required)
Error 503: Wrong permissions for 'uploads/' (777 required)
Error 504: Wrong permissions for 'data/' (777 required)
michielbdejong commented 9 years ago

This is with Yunohost v2. To reproduce, take a virgin Debian 7.8 x64 server, run:

apt-get update
apt-get upgrade
dpkg-reconfigure -plow unattended-upgrades
hostname yourdomain.com
apt-get install git
git clone https://github.com/YunoHost/install_script /tmp/install_script
cd /tmp/install_script && ./install_yunohostv2
exit

Then install the lychee app, and try to upload a picture.