Re: Preferred way to do a chown on package's dirs ?
Olivier Berger <email@example.com> writes:
> May it also be done in the debian/rules ?
> For instance something like :
> install: build
> dh_clean -k
> install -m 750 -o www-data -g www-data -d debian/whatever_package/var/lib/mypackage/somedir
> chown -R www-data:www-data debian/whatever_package/var/lib/mypackage/somedir
> When doing so, it seems that dpk-buildpackage -rfakeroot won't respect
> that user definition (btw, that user may not exist on the machine the
> package is build from, right ?).
I'm surprised that this doesn't work. Shouldn't fakeroot handle this case
and do the right thing? Or am I confused about what fakeroot is capable
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>