[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



To send an email you don't need to write anything on the file system.
The SMTP server (and other daemons involved in the process) will write
logs and temporary files that will reside outside the web application
file system space.



--
Vincenzo Romano - NotOrAnd.IT
Information Technologies
NON QVIETIS MARIBVS NAVTA PERITVS


2012/11/23 Kevin Bailey <..hidden..>:
> My guess is that sending an email needs write access to something
>
> Sent from my HTC
>
> ----- Reply message -----
> From: "Chris Travers" <..hidden..>
> Date: Fri, Nov 23, 2012 08:50
> Subject: [Ledger-smb-users] Important - which files need to be writable?
> This affects backups and making copies
> To: <..hidden..>
>
> 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
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Ledger-smb-users mailing list
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>