[Bug 212407] Feature Request: ZFS integration with pw(8)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 6 08:46:01 UTC 2016


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

            Bug ID: 212407
           Summary: Feature Request: ZFS integration with pw(8)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: delphij at FreeBSD.org

(Creating a note for myself or someone who volunteers to work on it).

Currently, pw(8) is not ZFS aware.  It would be nice if we can support ZFS in
pw(8) that:

When adding user:
 - If the home directory already exists, change ownership/group to the newly
created user, and delegate certain permissions[1].  Otherwise:
 - If the parent directory of user's home directory is a ZFS, create a new ZFS
automatically, and delegate certain permissions.
 - Support an option to automatically populate quota, refquota, reservation and
refreservation.
 - Support an option to disable all these behavior.

When removing user:
 - The home directory, if a ZFS, should be recursively destroyed when the home
directory is supposed to be removed (e.g. userdel -r, and only when all files
are owned by the user to be deleted).

[1] A user should have 'mount' and 'snapshot' permissions.

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


More information about the freebsd-bugs mailing list