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

Re: Important - which files need to be writable? This affects backups and making copies





On Fri, Nov 23, 2012 at 12:11 AM, Kevin Bailey <..hidden..> wrote:
Hi,

I've put the LS files into a user's home directory - /home/ledgersmb/web.

I thought that the files for LedgerSMB should only be updated when
carrying out an upgrade - and that all configuration and data would be
stored in the database.

This is generally true, there are some optional features which can depend on write access, such as template editing.  Most people do not use this feature and so we do not generally enable the permissions by default.
 
For core operations (including backups) all writes are done to whatever is specified in the temp_dir option in the ledgersmb.conf.  If this is not set, we default to the TEMP environment variable if set, and if not, to /tmp/ledgersmb.  So we do need write access to a temporary directory, and if you want to open up template editing over the web server you can do that (most people don't and so because of that we don't set permissions up for this to work out of the box).

Best Wishes,
Chris Travers