Eugeny / ajenti-v

Virtual Hosting addon for Ajenti
ajenti.org/#product-ajenti-v
MIT License
225 stars 80 forks source link

nginx configuration files/directories generated with global write access?! #201

Closed nomoon closed 8 years ago

nomoon commented 8 years ago
drwxrwxrwx   2 root root   30 Nov 26 01:17 conf.d
-rw-rw-rw-   1 root root 1125 Nov 26 01:17 fcgi.conf
-rw-rw-rw-   1 root root 2543 Nov 26 01:17 mime.conf
-rw-rw-rw-   1 root root 1286 Nov 26 01:17 nginx.conf
-rw-rw-rw-   1 root root  344 Nov 26 01:17 proxy.conf

I changed the permissions, but they appear to be reset to this very, very dangerous default every time ajenti-v regenerates the files.