Docs / Waziper

File and Folder Permissions

Required writable paths for Laravel and the WhatsApp server.

Estimated reading: 1 minutes

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.