Re: Config files which are writable by www-data

2008-02-12 Thread Craig Small
On Sun, Feb 10, 2008 at 01:20:14PM +0100, Roland Gruber wrote: 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. I got a similiar

Re: Config files which are writable by www-data

2008-02-11 Thread Roland Gruber (LAM)
Hi Russ, Russ Allbery schrieb: 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. thanks for

Re: Config files which are writable by www-data

2008-02-10 Thread Roland Gruber
Hi Matt, Matthew Palmer schrieb: Well, don't do that, then. Ship the template files somewhere else, and then copy them into /var if they're not already there. that is probably the best solution. I think I will put them in /usr/share/doc/ldap-account-manager/examples and copy them from there

Re: Config files which are writable by www-data

2008-02-10 Thread Matthew Palmer
On Sun, Feb 10, 2008 at 12:02:02PM +0100, Roland Gruber wrote: Matthew Palmer schrieb: Well, don't do that, then. Ship the template files somewhere else, and then copy them into /var if they're not already there. that is probably the best solution. I think I will put them in

Re: Config files which are writable by www-data

2008-02-10 Thread Roland Gruber
Hi Matt, 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

Re: Config files which are writable by www-data

2008-02-10 Thread Michelle Konzack
Am 2008-02-09 10:09:13, schrieb Roland Gruber: Hi all, I am the maintainer of ldap-account-manager and got bug 462192. The problem is that my application provides a set of default templates for user creation. These files must be editable via the application itself and therefore reside in

Re: Config files which are writable by www-data

2008-02-10 Thread Russ Allbery
Roland Gruber [EMAIL PROTECTED] 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

Config files which are writable by www-data

2008-02-09 Thread Roland Gruber
Hi all, I am the maintainer of ldap-account-manager and got bug 462192. The problem is that my application provides a set of default templates for user creation. These files must be editable via the application itself and therefore reside in /var/ldap-account-manager. But the files are

Re: Config files which are writable by www-data

2008-02-09 Thread Matthew Palmer
On Sat, Feb 09, 2008 at 10:09:13AM +0100, Roland Gruber wrote: The problem is that my application provides a set of default templates for user creation. These files must be editable via the application itself and therefore reside in /var/ldap-account-manager. I most sincerely hope they do not.