29 Jun
2016
29 Jun
'16
4:01 a.m.
On Wed, 29 Jun 2016 00:18:59 +0200 Frederik “Freso” S. Olesen <archlinux@freso.dk> wrote:
Den 23-06-2016 kl. 01:13 skrev Doug Newgard:
In addition to everything else mentioned, you should never be running chown in the install scripts. If the files/dirs need to be owned by a specific user/group, you should do that in the package function.
How is one supposed to do this if they're not hardcoding the uid/gid? (Ie., the uid/gid won't be known until `adduser` has been run in the .install script. See Message-Id: <4e51998e-e14e-5f3a-b825-242d96d08cad@autoproduzioni.net>)
If files or dirs need to be owned by the user/group in question, the uid/gid need to be hard coded. That's not he case here, though.