# When crontab gives fopen: permission denied error While trying to open my user's crontab on Ubuntu, the system barked back: ```bash $ crontab -l crontabs/myuser/: fopen: Permission denied ``` This is due to improper permissions on crontab executable. To fix: ```bash $ sudo chown root:crontab /usr/bin/crontab $ sudo chmod 2755 /usr/bin/crontab ``` Mucked up perms: ```bash rwxr-xr-x 1 root root 39352 Nov 16 2017 /usr/bin/crontab ``` After fix: ```bash -rwxr-sr-x 1 root crontab 39352 Nov 16 2017 /usr/bin/crontab ``` Solution from [Ask Ubuntu: cannot access crontab after changing uid](https://askubuntu.com/questions/710671/cannot-access-crontab-after-changing-uid).