Re: Config files which are writable by www-data
Roland Gruber <post@rolandgruber.de> writes:
> Matthew Palmer schrieb:
>> Except that the contents of /usr/share/doc must not be relied upon for
>> the proper functioning of your package. Somewhere under
>> /usr/share/l-a-m is the correct place for these sorts of things.
>
> but when I copy the files at install time (postinst) then /usr/share/doc
> should be no problem? If the administrator deletes the files in
> /usr/share/doc afterwards then my application will have no problems.
No, you're not allowed to reference /usr/share/doc from maintainer
scripts. dpkg may be modified to not install /usr/share/doc at all. You
should ship them in /usr/share/<package> and add a symlink in
/usr/share/doc if desired.
See Policy 12.3.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: