It seems like an no brainer question, but i did not manage to any real information. In my Ubuntu server i have created a custom /etc/cron.d config file, e.g. /etc/cron.d/MyCronTab, the reason I put all here is for ease of finding and they are easy to modify.
Now I'm not going to put anything sensitive at all in these crontab, but i see by default Ubuntu really likes 644(root can read/write, everyone can read) on these files. I guess that could make sense so that people know what task will be running in the background even if they can't alter them.
But in my case, it seems rather not a good idea to even expose this information about my specific crontab files since they are root and admin tasks anyway.
So I changed the permission on my own files (/etc/cron.d/MyCronTab) so that only root can read and write, which seems perfect, and even if that crontab has a task ran by say another user, it still runs without issue, which seems perfect.
Something I'm worried about is, will Ubuntu or cron daemon on updates reset my config file permissions back to 644 so everyone can read or do they persist forever in this directory?