OB> I'm not sure I can find authoritative information on how a packager OB> should change the ownership (chown) of a shipped directory. OB> Of course this can be done in the package's postinst. OB> May it also be done in the debian/rules ? OB> For instance something like : OB> install: build OB> dh_testdir OB> dh_testroot OB> dh_clean -k OB> dh_installdirs OB> dh_install OB> install -m 750 -o www-data -g www-data -d debian/whatever_package/var/lib/mypackage/somedir group www-data may be absent on buildd # LANG=C install -m 750 -o unknown-user -g unknown-group -d 1 install: invalid user `unknown-user' OB> or OB> chown -R www-data:www-data debian/whatever_package/var/lib/mypackage/somedir # LANG=C chown unknown-user:unknown-group 1 chown: invalid user: `unknown-user:unknown-group' OB> When doing so, it seems that dpk-buildpackage -rfakeroot won't respect OB> that user definition (btw, that user may not exist on the machine the OB> package is build from, right ?). OB> Thanks in advance. -- ... mpd playing: WASP - Paint It Black . ''`. Dmitry E. Oboukhov : :’ : unera@debian.org `. `~’ GPGKey: 1024D / F8E26537 2006-11-21 `- 1B23 D4F8 8EC0 D902 0555 E438 AB8C 00CF F8E2 6537
Attachment:
signature.asc
Description: Digital signature