club-1 / hosting

Hosting on CLUB1
https://club1.fr
6 stars 1 forks source link

log files created by root user #1

Closed vincent-peugnet closed 5 years ago

vincent-peugnet commented 5 years ago

at this time, .log files are created by root user, they cant be deleted by classic low level user like me :'(

n-peugnet commented 5 years ago

I know but I didn't find any easy enough solution to this issue.

For now these files are deleted at the same time as the virtualhosts

If I find a better solution I will give you an update

n-peugnet commented 5 years ago

Hmm maybe I could just chown these in the vhost creation script

n-peugnet commented 5 years ago

This is not a good idea to just chown the files because if the user deletes them they will be recreated with root user.

Moreover I think this is a good thing that a user can't delete these files and thus, the directory containing it. Because it means it is related to a virtual host