mani95lisa
6857
14
Laravel

log file permission problem

Posted 4 years ago by mani95lisa

I have used chmod -R 777 storage command. Then If the date changed, larval created new log file's permission will not be 777, like this:

-rwxrwxrwx 1 root     root     6128 Jul  3 12:17 laravel-2015-07-03.log
-rw-r--r-- 1 www-data www-data  122 Aug 15 00:00 laravel-2015-08-15.log

vagrant

-rw-r--r-- 1 vagrant vagrant 50741 Jul  2 11:15 laravel-2015-09-03.log
-rwxrwxrwx 1 vagrant vagrant 44765 Jul  2 11:15 laravel-2015-10-10.log

So what's the problem and how can I make it always 777 ?

Thanks!

Please sign in or create an account to participate in this conversation.