Published 2 weeks ago by fastxpert
I have ubuntu server and can upload to "storage/app" only if my folder has 7777 permissions, but this is not secure, right? With 775 and 755 is the same issue, cannot upload... Which permission or setup is here needed to be on the right way for uploads & security?
from the laravel documentation
After installing Laravel, you may need to configure some permissions. Directories within the
bootstrap/cachedirectories should be writable by your web server or Laravel will not run.
this should be fine: change the owner (+group) of the folder to
www-data, then use 755 permissions on the folder itself, 644 on the files