Skip to content

Commit

Permalink
We need to correct permissions to 644 under uploads too, not sure why…
Browse files Browse the repository at this point in the history
… it was disabled
  • Loading branch information
chrisgraham committed Sep 5, 2019
1 parent da3584f commit fc4a49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fixperms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "1/4 Cleared caches"

# Reset to good start state first
touch _config.php
find . -type f -not -path "./sites/*" -not -path "./servers/*" -not -path "./_old/*" -not -path "./uploads/*" -not -path "./uploads/website_specific/compo.sr/upgrades/full/*" -exec chmod 644 {} \;
find . -type f -not -path "./sites/*" -not -path "./servers/*" -not -path "./_old/*" -not -path "./uploads/website_specific/compo.sr/upgrades/full/*" -exec chmod 644 {} \;
find . -type d -not -path "./sites/*" -not -path "./servers/*" -not -path "./_old/*" -not -path "./uploads/website_specific/compo.sr/upgrades/full/*" -exec chmod 755 {} \;
echo "2/4 Reset all permissions to good default state"

Expand Down

0 comments on commit fc4a49f

Please sign in to comment.