[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A question on setting setuid bit

On Wed, Jul 05, 2006 at 03:25:37PM +0200, Tollef Fog Heen wrote:
> | On Wed, Jul 05, 2006 at 04:39:12PM +1000, Matthew Palmer wrote:
> | > dpkg-statoverride is a tool for the system administrator to specify a
> | > different mode or ownership for a file to that which is provided in the
> | > package.  It is not meant to be used by the package.
> | 
> | there are cases where it's appropriate for a package to use it.  for
> | example, if the package creates the user that is supposed to own a file,
> | and later changes the ownership to that user in the maintscripts.
> If so, create the user in preinst and it'll work just fine.

the next sentence, which you conveniently cut out, explains exactly why
this won't work just fine :)


Attachment: signature.asc
Description: Digital signature

Reply to: