[Bug 228423] "zfs allow userprop" does not allow receiving user properties

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 22 14:27:12 UTC 2018


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

            Bug ID: 228423
           Summary: "zfs allow userprop" does not allow receiving user
                    properties
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: lapo at lapo.it

`man zfs` description leads me to think that "zfs allow"'s "userprop" would
allow the user to set any user property, but when I'm using "zfs recv -Fu" I
get errors like this:

  cannot receive recordsize property on z/backup/tmp/z/var/db/mysql: permission
denied
  cannot receive setuid property on z/backup/tmp/z/var: permission denied
  cannot receive exec property on z/backup/tmp/z/var: permission denied
  cannot receive setuid property on z/backup/tmp/z/var/tmp: permission denied

Those can be solved by "zfs allow"ing then individually, but this means that
when the backup source will use new properties I will have to re-issue "zfs
allow" on the receive side; it would be best to have a way (any way) to accept
all properties with no need to allow them individuallly.

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


More information about the freebsd-bugs mailing list