Skip to content

Commit

Permalink
use 775 and 664 as outer folder can only
Browse files Browse the repository at this point in the history
be read by www-data
  • Loading branch information
diversen7 committed Oct 8, 2024
1 parent 0d173a5 commit 00cd1f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/set_file_perms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ DATA=$3
chown -R $USER:$GROUP data

# Change all dirs to 770
find $DATA -type d -exec chmod 770 {} \;
find $DATA -type d -exec chmod 775 {} \;

# Change all files to 660
find $DATA -type f -exec chmod 660 {} \;
find $DATA -type f -exec chmod 664 {} \;

0 comments on commit 00cd1f9

Please sign in to comment.