T
T
tigra2018-01-29 15:45:03
linux
tigra, 2018-01-29 15:45:03

What are these rights?

Accidentally reset permissions on /usr/bin/crontab now on crontab -e I get permission denied
permissions were -rwxr-sr-x how to set such permissions to cron?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Movchan, 2018-01-29
@tigroid3

It is not necessary to memorize the numbers for each flag:
chmod u=rwx,g=rs,o=rx /usr/bin/crontab

A
Alexander, 2018-01-29
@Adorne

chmod 2755 /usr/bin/crontab
Are you sure they are? I have -rwsr-xr-x, in that casechmod 4755 /usr/bin/crontab

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question