On Fri, Dec 4, 2009 at 2:55 PM, Liang Guo <bluestonech...@gmail.com> wrote: > would it be included in debian/dirs, and then change its owner in postinst ? Brilliant! Worked wonders! Thank you!
> > 2009/12/4 Zaar Hai <haiz...@haizaar.com> >> >> Good day dear mentors! >> >> I'm working on package that needs /var/lib/foo directory, owned by foo >> user (which is created during package install). What is the proper way >> to package such thing? I've thought about putting it to preinst >> script, but then that directory will be not be tracked by dpkg (dpkg >> -S will not find it, for example). On the other hand, user foo may not >> even exist on build host. >> >> Thank you, >> -- >> Zaar >> >> >> -- >> To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org >> with a subject of "unsubscribe". Trouble? Contact >> listmas...@lists.debian.org >> > > > > -- > Liang Guo > http://bluestone.cublog.cn > -- Zaar -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org