Bug#352394: tex-common: permission scheme for /var/cache/fonts
Norbert Preining <preining@logic.at> wrote:
> On Mon, 13 Feb 2006, Frank Küster wrote:
>> > It used to be that tetex-bin created these subdirectories in postinst, and
>> > thus a local admin could just change the permissions by hand and upgrades wouldn't
>> > touch them. Now tex-common ships them in the deb with hardcoded permissions
>> > 1777, which is wrong for this situation.
>>
>> Hm, is there any reason why we can't ship them as 2775, anyway? The
>> local admin can use dpkg-statoverride if he really wants it
>> world-writable (just as you can now to work around this bug).
>
> Nothing that comes to my mind immediately. Only how to choose the group?
> Ship it as root.root, do we change the ownership of the directories on
> dpkg-reconfigure tex-common?
That sounds sensible. We would use dpkg-statoverride, but would have to
seed debconf by querying dpkg-statoverride's database. Or something
like that.
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)
Reply to: