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

Re: on the use of chmod/chown in maintainer scripts



On 2012-05-12 13:10 +0200, Charles Plessy wrote:

> I was always wondering:
>
> Unless we expect that two different binary packages that can be co-installed
> will distribute the same directory under different ownership or permissions for
> a good reason, why not simply let dpkg apply ownership and permissions found in
> data.tar.{gz|bz2|xz}, and treat it the same as a file conflict when unpacking a
> package on a system where another package has already set different ownersip
> and permissions ?

An obvious obstacle is that dpkg does not currently track ownership and
permissions of installed files and directories in its database.

Cheers,
       Sven


Reply to: