I recently changed the uid of my linux account (the reason for this change lies in the need to have a precise uid to access files on a mounted drive). Since then, I cannot access my crontab. After typing:
crontab -e
I get the error message:
crontabs/my_login/: fopen: Permission denied
I investigated the permissions associated to the file /usr/bin/crontab, it is:
-rwxr-xr-x 1 root my_login 35984 Feb 9 2013
However, if I look at the id of my_login, I get:
uid=11375(my_login) gid=1000(my_login) groups=1000(my_login),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),107(lpadmin),110(sambashare)
I can see something seems wrong with the gid but I am not sure what to do from this point...