Skip to content

Commit

Permalink
fix: data folder is accessible warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wernerfred committed Dec 6, 2020
1 parent 4f5b0ae commit e53e871
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# Add .htacces according to https://www.rainloop.net/docs/installation/#notice
echo "Require all denied" > /rainloop/data/.htaccess

# Set rainloop directory permissions to catch bind mounts too
chown -R www-data:www-data /rainloop/data
find /rainloop -type d -exec chmod 755 {} \;
Expand Down

0 comments on commit e53e871

Please sign in to comment.