Skip to content

Commit

Permalink
Restrict Permissions. Adds www-data to lychee group and changes /uplo…
Browse files Browse the repository at this point in the history
…ads permissions to 775. (#23)
  • Loading branch information
roblandry authored Nov 17, 2019
1 parent f916d4d commit 97e6b34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ echo -e " \tUser GID :\t$(id -g "$USER")"
echo "**** Set Permissions ****" && \
chown -R "$USER":"$USER" /conf
chown -R "$USER":"$USER" /uploads
chmod -R a+rw /uploads
usermod -a -G "$USER" www-data
chmod -R 775 /uploads
chown -R www-data:www-data /var/www/html/Lychee-Laravel

echo "**** Setup complete, starting the server. ****"
Expand Down

0 comments on commit 97e6b34

Please sign in to comment.