Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--help option requires root access #921

Closed
scr4bble opened this issue Jul 15, 2016 · 1 comment
Closed

--help option requires root access #921

scr4bble opened this issue Jul 15, 2016 · 1 comment
Assignees
Labels

Comments

@scr4bble
Copy link

  • rear version (/usr/sbin/rear -V):
    Relax-and-Recover 1.17.2 / Git

$ rear --help
ERROR: Relax-and-Recover needs ROOT privileges!

Maybe it could work even without root privileges.

@jsmeix jsmeix self-assigned this Jul 15, 2016
@jsmeix
Copy link
Member

jsmeix commented Jul 15, 2016

From a user's point of view
it could be made working without root privileges
but as it is currently implemented it would require
some exceptional case handling for that.

Currently "rear --help" is implemented as a "help" workflow
and all workflows (i.e. anything that is run by /usr/sbin/rear)
have that test that root runs /usr/sbin/rear.

Because "man rear" works for any user, I don't think
it is really worth the effort to implement exceptional case
handling when "/usr/sbin/rear --help" outputs its usage
information.

@scr4bble
if you really think this feature is a must-have,
reopen this issue together with a GitHub pull request
so that we can see hwo you think it should be actually
implemented.

@jsmeix jsmeix closed this as completed Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants