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

Re: A question on setting setuid bit

* sean finney 

| 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.

Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 

Reply to: