sidneystreith1985

Permissions

Apr 13th, 2024
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. chown www-data:www-data -R * # Let Apache be owner
  2. find . -type d -exec chmod 755 {} \; # Change directory permissions rwxr-xr-x
  3. find . -type f -exec chmod 644 {} \; # Change file permissions rw-r--r--
Add Comment
Please, Sign In to add comment