mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Fixed permissions so that www-data can access static files
This commit is contained in:
parent
ec804a0ac9
commit
9e79dc10ad
1 changed files with 2 additions and 2 deletions
|
@ -33,9 +33,9 @@ sudo /opt/yunohost/ihatemoney/venv/bin/pip install gunicorn>=19.3.0 MySQL-python
|
||||||
# Install source
|
# Install source
|
||||||
sudo cp -r ../sources/ /opt/yunohost/ihatemoney/src/
|
sudo cp -r ../sources/ /opt/yunohost/ihatemoney/src/
|
||||||
sudo find /opt/yunohost/ihatemoney/src/ -type f | while read LINE; do sudo chmod 640 "$LINE" ; done
|
sudo find /opt/yunohost/ihatemoney/src/ -type f | while read LINE; do sudo chmod 640 "$LINE" ; done
|
||||||
sudo find /opt/yunohost/ihatemoney/src/ -type d | while read LINE; do sudo chmod 750 "$LINE" ; done
|
sudo find /opt/yunohost/ihatemoney/src/ -type d | while read LINE; do sudo chmod 755 "$LINE" ; done
|
||||||
sudo chown -R ihatemoney:ihatemoney /opt/yunohost/ihatemoney/src
|
sudo chown -R ihatemoney:ihatemoney /opt/yunohost/ihatemoney/src
|
||||||
|
sudo chown -R www-data:www-data /opt/yunohost/ihatemoney/src/budget/static
|
||||||
|
|
||||||
# Create various dirs
|
# Create various dirs
|
||||||
sudo install -o ihatemoney -g ihatemoney -m 755 \
|
sudo install -o ihatemoney -g ihatemoney -m 755 \
|
||||||
|
|
Loading…
Reference in a new issue