[Bug 283355] install: -U does not validate -o and -g values

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 Dec 2024 22:10:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283355

            Bug ID: 283355
           Summary: install: -U does not validate -o and -g values
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: pat@patmaddox.com

When run as root, -o and -g will error if either ID is invalid. When run with
-U, install will write to the METALOG without validating the IDs.

e.g. this will error

# install -o missing-user src/file dest/file

but this will succeed, adding a METALOG entry with missing-user

$ install -U -M METALOG -o missing-user src/file dest/file

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