#31 barman cron doesn't check directory permissions for lock file

1.x
closed
2014-01-29
2013-10-27
No

For a while, I've been getting "ERROR: Another cron is running" when trying to run barman cron. In the process of looking for the stray lock file, I realized that the problem was actually a permissions one. I was running barman with a regular user account, not the barman account. /var/lib/barman was chowned by barman:barman. Once I set this, barman cron runs fine.

It would be great, in the case that the lock file check fails, to check directory permissions and give a more sensible error message.

Discussion

  • Gabriele Bartolini

    • labels: --> error messages, permissions
    • assigned_to: Marco Nenciarini
     
  • Gabriele Bartolini

    • status: open --> closed
    • Milestone: 2.x --> 1.x
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks