I am ruing Ubuntu 16.04 LTS and am using Vagrant to run a Ubuntu 14.04 Server with a LAMP stack setup. I am working on a Laravel 5.2 project, but constantly have issues with the permissions in the storage folder/sub-folders. Currently, the folders are owned by my user/group. Anytime some file needs to be created or written too, I get a permission denied error. I can fix this with by chmoding the files to 777. This however does't fix the issue of having the problem when a new file is made (for sessions). I could set the files/folder to inherit permissions of 777. This is fine for a development server I suppose, but I would like to do this the right way, not just the fast way. What permissions...
ادامه مطلب