YunoHost-Apps / grav_ynh

Grav, a flat-file CMS packaged for YunoHost
https://getgrav.org/
GNU General Public License v3.0
16 stars 12 forks source link

(*system*grav) INSECURE MODE (group/other writable) (/etc/cron.d/grav) #99

Closed ndarilek closed 2 years ago

ndarilek commented 2 years ago

Describe the bug

Getting the following message in /var/log/syslog every minute with a fresh install:

Feb 8 14:30:01 yunohost cron[772]: (systemgrav) INSECURE MODE (group/other writable) (/etc/cron.d/grav)

chmod 0644 /etc/cron.d/grav fixes it. Might be wise to set the permissions in the installation script--right now it just seems to echo in the crontab. Doing that reloaded the job and got things working.