Date: Fri, 29 Jun 2018 00:05:59 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Joseph Ward <jbwlists@hilltopgroup.com> Cc: Mathieu Arnold <mat@FreeBSD.org>, freebsd-ports@freebsd.org Subject: Re: Any way to prevent do-extract chmod and chown? Message-ID: <20180628220559.hwwvidjzwlaxtq4x@atuin.in.mat.cc> In-Reply-To: <dca25697-9a4f-deb7-f36d-7753d0fd27ae@hilltopgroup.com> References: <dbfc8dbc-547c-74d9-e2dc-3cb3367293e1@hilltopgroup.com> <20180628082738.uv3bs6jmrrp52h5m@atuin.in.mat.cc> <dca25697-9a4f-deb7-f36d-7753d0fd27ae@hilltopgroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--kpakihhqwzuvadiy Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 28, 2018 at 01:43:41PM -0400, Joseph Ward wrote: > Thank you.=A0 I found that to be the case; even though changing the > "do-extract" target successfully staged the files and directories with > the original permissions, pkg create seems to strip them out again > without the pkg-plist additions. >=20 > Are you aware of an easy/already existing command to create the > pkg-plist with the user/group/permissions items for each file, or is > that a script I'm going to have to write manually?=A0 I'm currently using > the makeplist target as there are no subsitutions or anything else that > would screw up the default scenario. I am not aware of anything. But if you already have "stuff" creating a big hierarchy with many users and groups, it may be easier to adapt "stuff" to generate a pkg-plist file, or maybe to split your ports into smaller, more manageable bits. make makeplist will give you a correct listing of files and directories, but as everything runs as a regular user, it cannot be aware of the users/groups you intend on using in the plist. --=20 Mathieu Arnold --kpakihhqwzuvadiy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAls1W8dfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkipdA/6At3QsLiXUwZE0TstM78hdPfB27llPgEvRlys76cKSDO3MtrJXAAglGI5 w2zMGtWWRS/rb4ojc9fKKNZ2UlK/oXtaExtKeFnwsCScHN402bOexZDtRMFvIHfe lRagNN9PuciUgjG8uyZSfCYomGDudqVu2xttsCeAHEAMjGvI6ndm3dnGMqhXqVWC x2oc2PUiiGQPTsCDvgmo81A3zehZ2I02rkUUDZrTQwotNX1GRvuaY2u0JD9uRb+t p6XhXZvGoazoKI8QESpU3B39z2+JSuOW+ZMlPWgvtI/aFscmhnkTpxLZQL8gdC+u 2UFioGfq99QTEzUMcRztLxQ+TGCzP3wWrN02UQnAzzY42Eu0QDjPVewQgMMJgdWU bHPYfJhubPUP2gdjwtIz9J8m1zaq7lpBCP8XEZ/0ejMo03eq36d+X9+sdAvPC3jF vANLJGudluStcO17/guH5fPA+CQPm7tPUYpTKjUCdRg9+gg0jx5C17EQ/+OAeqfs lZutZYPD3UeR6wLCmPJAMKVP5mpPmHJt1xDnhkA5UJhXsE1TyOBpDqwI/6LUaACf CHwCTE0rSP95BG20ZW9HRFx6NTiax2bpnrZlO6AQvHu3BTSbYHpogJyQKhmyouTT ETW1tcSY1MpGTRVH/LfY7pPzzz+aViDX/+SF6VXnXndjalgZcXs= =TKxH -----END PGP SIGNATURE----- --kpakihhqwzuvadiy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180628220559.hwwvidjzwlaxtq4x>