[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

config file writeable by the own app



Hi there!

I'm packaging a perl webapp.

At execution time, the upstream code expects a config file to be
writeable at '../priv/ip_config'.
This file is meant to store the DB credentials and URI. The file can
be modified by the user using the webapp.

Of course, its a plain config file, and it should be at /etc.

So I see two options:
 * ln -s /etc/config_file /usr/share/webapp/priv/ip_config
 * give write permission in postinst (lintian complains if I give
write perms at build time)

any advice about that?

I've read webapps policy and perl policy, but they don't give this
kind of details.

regards

-- 
Arturo Borrero González


Reply to: