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

Re: dpkg, non-root user, and chown



BRIAND, Michel M writes ("dpkg, non-root user, and chown"):
> Inside data.tar.gz file are owned by the (special) user who did the
> build (not a user, but a administrative account in our service).
> Dpkg shall then install those files with that particular owner.

I think you are confused.

dpkg will insist on setting the ownership of the files on-disk to that
specified in the package.  If you want to run it in the way you are
doing (which I'm not convinced is an entirely good idea) then you must
make the files in the package be owned by the user which is going to
do the extraction.

> I've read the dpkg-statoverride man page.
> But is there a method to install files like they are in package, without
> using dpkg-statoverride ? A simple option to dpkg ?

dpkg is trying to install the files like they are in the package.

Ian.


Reply to: