Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So in the nutshell :

There was user John with 502:502.

After i deleted John and recreated him, his UID:GID changed to 504:504.

Cronjobs are still running under the John's crontab, but when the cronjobs are happening they are writing some files into /home/John in the name of 502:502.

It is quite a mess, and I am not sure what would be the easier way to solve it, either change current John's uid and gid to 502:502 - which could cause more problems with files the user was working since. But I was thinking that going somewhere to cron config and changing John's uid:gid from 502:502 to 504:504 there, inside cron.

Looked all over the place, but can not find it. Any ideas ?

EDIT: I am on CentOS 6

share|improve this question
Sounds like you're on a Mac, but you should give your operating system information explicitly. – Kyle Jones May 16 '12 at 3:28

Try looking in /var/spool/cron for the user crontabs.

share|improve this answer

You probably have a name service caching daemon running on your system, try to restart it. Typical names contain something like nscd.

You can also check /var/spool/cron/crontabs/John (or the equivalent file) and make sure that the file has the correct permissions. Otherwise it may help to restart cron.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.