]> BookStack Code Mirror - website/commitdiff
Update filesystem-permissions.md 159/head
authorNate Morris <redacted>
Tue, 11 Jul 2023 18:58:49 +0000 (14:58 -0400)
committerGitHub <redacted>
Tue, 11 Jul 2023 18:58:49 +0000 (14:58 -0400)
No need to recursively change permissions on a single file

content/docs/admin/filesystem-permissions.md

index 570d3841371169a9e2e941ddf9eeaa3b72a36468..8e778af7a51cee769b9206d2e60f63c563bb93dd 100644 (file)
@@ -46,5 +46,5 @@ sudo chmod -R 755 /var/www/bookstack
 sudo chmod -R 775 /var/www/bookstack/storage /var/www/bookstack/bootstrap/cache /var/www/bookstack/public/uploads
 
 # Limit the .env file to only be readable by the user and group, and only writable by the user.
-sudo chmod -R 640 /var/www/bookstack/.env
+sudo chmod 640 /var/www/bookstack/.env
 ```