[Bug 231653] pw doesn't respect -V when writing pw.conf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 24 06:58:07 UTC 2018


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

            Bug ID: 231653
           Summary: pw doesn't respect -V when writing pw.conf
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: yuripv at yuripv.net

pw -V /newetc adduser -D -w random:

...
open("/newetc/pw.conf",O_RDONLY,0666)            ERR#2 'No such file or
directory'
openat(AT_FDCWD,"/etc/pw.conf",O_RDWR|O_EXLOCK|O_CREAT|O_TRUNC,0644) = 4 (0x4)
...
write(4,"#\n# pw.conf - user/group config"...,1367) = 1367 (0x557)
close(4)                                         = 0 (0x0)
...

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


More information about the freebsd-bugs mailing list