Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2024 22:10:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283355] install: -U does not validate -o and -g values
Message-ID:  <bug-283355-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283355

            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 wi=
th
-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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283355-227>