Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629526 - >=sys-fs/zfs-0.7.0 - zfs and zpool commands should reside in /bin/ instead of /sbin/
Summary: >=sys-fs/zfs-0.7.0 - zfs and zpool commands should reside in /bin/ instead of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-01 08:47 UTC by Johannes Schmidt
Modified: 2018-06-08 17:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Schmidt 2017-09-01 08:47:13 UTC
Since we now have 'zfs allow' and 'zfs unallow' zfs will be used by various users. Some commands like 'zpool status' and 'zfs list' are allowed per default for all users.

Please install zfs and zpool to /bin/ so that it is in $PATH for normal users.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2018-06-08 05:50:25 UTC
there was a change in baselayout recently, ROOTPATH and PATH got merged, so users can call zfs by default without any modifications, because /sbin is in regular users' PATH.
Comment 2 Johannes Schmidt 2018-06-08 17:18:24 UTC
It works in bash fair enough. I didn't realize it, since I use fish as my interactive shell.

But since most users will have bash anyway and people who use non-Bourne shells  probably know what they need to do to set a different $PATH I'll close this report.