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

Re: Question regarding dpkg files



On Tue, 2007-05-22 at 17:42 -0700, Russ Allbery wrote:
> Set file ownership and permissions properly in the package.  Debian's
> package build process, unlike RPMs, doesn't rely on the spec file to
> handle ownership of files.  Just chown the files as appropriate in
> debian/rules and Debian's package building software will preserve that
> ownership.

Unless you need to set ownership to a non-standard user or group (of
which the UID/GID can change from system to system), in which case you
need to take a look at 'dpkg-statoverride', using it inside your
postinst or preinst script.

Cheers

-- 
Leo Antunes <costela@debian.org>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: