mnabialek / laravel-sql-logger

Log SQL queries for Laravel/Lumen framework
MIT License
156 stars 24 forks source link

No permission to write to log #7

Closed smurfyuen closed 7 years ago

smurfyuen commented 7 years ago

Hi , Once the file is created , the file does not have permission to write to the new file. No write attribute on the file. Cheers, MIchael

mnabialek commented 7 years ago

You should make sure you configured your directory permissions in right way

smurfyuen commented 7 years ago

I think is the group problem. Thx

2017年9月9日 上午2:04 於 "Marcin Nabiałek" notifications@github.com 寫道:

You should make sure you configured your directory permissions in right way

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mnabialek/laravel-sql-logger/issues/7#issuecomment-328174247, or mute the thread https://github.com/notifications/unsubscribe-auth/ANIyrm1fFaexhvt2Nz4Cwr9kmaM71jJpks5sgYGtgaJpZM4PRd4p .

mnabialek commented 7 years ago

Maybe yes, but script doesn't know your group. Make sure you use same user for http and console and make sure you set valid permissions on your local machine.