Re: How to change file owner for deb packages properly?
On Tue, Dec 17, 2002 at 04:36:07PM +0900, Junichi Uekawa wrote:
> chown netsaint debian/netsaint-neat/usr/lib/cgi-bin/netsaint/neat.cgi
> chown: `netsaint': invalid user
>
>
>
> I have seen several packages which do this and fail,
> and what is the proper way to fix that ?
This sort of thing is supposed to be done in postinst, guarded by a check
for a statoverride.
It may be possible to extend fakeroot to put it in the .deb and create the
user in preinst, though I haven't thought much about it and it's usually not
worth the trouble.
--
- mdz
Reply to: