Skip to content
Stackposts
Product guide

File and Folder Permissions

Required writable paths for Laravel and the WhatsApp server.

1 min read

File and Folder Permissions

Laravel permissions

  • storage must be writable.
  • bootstrap/cache must be writable.
  • public uploads must be writable if local file storage is enabled.
  • Do not make the full application 777 unless your hosting provider explicitly requires it.

Common Linux commands

  • chown -R www-data:www-data storage bootstrap/cache
  • chmod -R 775 storage bootstrap/cache

Node server permissions

  • The Node process must be able to write session files.
  • If QR login succeeds but sessions disappear after restart, check the WhatsApp server storage path permissions.
Still need help?

Tell us where you are stuck.

Share the product, the step you reached, and any error shown. Our team can point you in the right direction.