[Bug 225793] pathconf(2) doesn't work in ZFS's .zfs directory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 9 18:32:49 UTC 2018


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

            Bug ID: 225793
           Summary: pathconf(2) doesn't work in ZFS's .zfs directory
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: asomers at FreeBSD.org

pathconf(2) doesn't work in the .zfs or .zfs/snapshot directory

[root at tom /tmp]# zpool create foo da0
[root at tom /tmp]# zfs set snapdir=visible foo
[root at tom /tmp]# zfs snapshot foo at 1
[root at tom /tmp]# getconf ACL_EXTENDED /foo
0
[root at tom /tmp]# getconf ACL_EXTENDED /foo/.zfs
getconf: pathconf: ACL_EXTENDED: Invalid argument
[root at tom /tmp]# getconf ACL_EXTENDED /foo/.zfs/snapshot
getconf: pathconf: ACL_EXTENDED: Invalid argument
[root at tom /tmp]# getconf ACL_EXTENDED /foo/.zfs/snapshot/1
0

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


More information about the freebsd-bugs mailing list