Crontab permissions

kalisto

Verified User
Joined
Jan 31, 2019
Messages
10
Hi,
This instruction https://help.directadmin.com/item.php?id=615 says about chmod 4755 /usr/bin/crontab

I think it should be 2755, because if there is 4755 then you cant edit file via SSH. In this situation crontab creates temporary file /tmp/crontab.XXXX/crontab with root as owner and 0600 permissions.

I see that in new installation of DirectAdmin there is chmod 2755.

What do you think?
 
mine is
Code:
ls -la /usr/bin/crontab
-rwsr-xr-x 1 root root 57656 Aug  8  2019 /usr/bin/crontab
 
Back
Top