Actions
Bug #29693
closedforeman-maintain --help requires sudo
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Check
Target version:
-
Description
When I try foreman-maintain --help, I get the following error:
[vagrant@centos7-katello-devel bin]$ foreman-maintain --help
No permissions to create dir /var/lib/foreman-maintain/db-backups
"Permission denied - /var/lib/foreman-maintain/db-backups"
/usr/share/gems/gems/foreman_maintain-0.6.0/definitions/features/mongo.rb:188:in `readlines': Permission denied - /etc/pulp/server.conf (Errno::EACCES)
It appears foreman-maintain tries to create a file as part of initialization. The effect is that sudo is required even to see the --help screen.
Expected output: --help displays help screens without sudo.
Actions