/etc/crontab/ File Permission changes not persistent

anonnasuser

Cadet
Joined
Sep 27, 2022
Messages
5
I need to change the permissions of the /etc/crontab file. When I use
Code:
chmod
on the file directly, the change doesn't persist. I've tried changing /conf/base/etc/crontab and /usr/local/lib/python3.9/site-packages/middlewared/etc_file/crontab but it has no effect on the /etc/crontab file. Help needed.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
TrueNAS is an appliance, and you are only supposed to make changes through the GUI. Even if you managed to hack things to allow direct changes, they would likely be lost at the next firmware update. Please use the GUI to set up this kind of thing.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I need to change the permissions of the /etc/crontab
Leaving aside @jgreco's accurate answer, why? What possible reason would you have to even care about the permissions on the crontab file?
 
Top