https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292845

            Bug ID: 292845
           Summary: zpool should report permissions error
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

When trying to run zpool(8) to create a new pool as a non-root user, the
command returns a misleading error:

```
$ zpool create extra /dev/nda1 /dev/nda2
cannot use '/dev/nda1': must be a block device or regular file
```

The problem here is that the devices are not readable by the normal user. 
zpool(8) should differentiate between not having permission to access a disk
and the argument provided not being a block device.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to