• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

issue with fetchmail

Red Squirrel

No Lifer
I'm trying to run fetchmail as a different user through a cron job but I get this error:

//.fetchmail.pid: Permission denied
fetchmail: lock creation failed.

If I execute it manually with that user, it works.

Did some research and it seems this is a bug, but this was VERY old information so it may not be valid. Has anyone seen this before?


edit: seems ok if I do it as root
 
edit: seems ok if I do it as root

Of course it does, root can write to /.

By default fetchmail writes it's pid to ~/fetchmail.pid and I bet cron cleaned the environment so HOME is empty or points to /. Just use the pidfile option to specify a full path for fetchmail to use.
 
Back
Top