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

zpool/zfs commands that fail as non-root user should return a friendly error #184

Closed
dch opened this issue May 18, 2014 · 1 comment
Closed

Comments

@dch
Copy link

dch commented May 18, 2014

Via https://openzfsonosx.org/forum/viewtopic.php?f=24&t=492

When I ran "zpool import" I got back "no pools available".

That was after a panic so I thought the sh*t had hit the fan again and mentally prepared to re-load 3 TB data again. But fortunately, I saw that I ran as myself, not as root. After a sudo -s everything looked as it should.

If one run zpool import as a normal user, can you please add some warning or whatever. Maybe if one cannot access any /dev/* for writing or something. As it is now it is a bit too subtle.

@ilovezfs
Copy link
Contributor

As a start 72d8832

This is close to a duplicate of #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants