On Mon, May 10, 2010 at 6:24 PM, Rich Shepard <[email protected]> wrote:
> On Sun, 9 May 2010, Armaghan Saqib wrote:
>
>> Following permissions should sort out this issue:
>>
>> chmod 755 users
>> chown nobody:nobody users # where nobody is the web server user
>
> Armaghan,
>
>  /usr/local/sql-ledger/users needs to be 755, but the files in that
> subdirectory need to be 666. With _all_ files in that directory owned by
> nobody.nobody I could not log in; 'chown rshepard.users rshepard.conf' fixed
> that.
>
>  However, I still cannot print checks. Keep getting the error:
>
>> users/1273511831_check.tex : Permission denied
>
>  The check.tex file is in /usr/local/sql-ledger/templates/rshepard. That
> directory has perms 775 and the *.tex files in it have perms 664. The owner
> of that directory and included files has not changed since the application
> last printed checks. Where in the check printing script is there a call for
> check.tex that is failing?

The temporary file being created in users folder is failing. Make sure
nobody has write access into 'users' folder. ('nobody' the user, not
the nobody). Also correct the permissions of 'sql-ledger folder if
needed.

Regards
Armaghan
_______________________________________________
SQL-Ledger mailing list
[email protected]
http://lists.ledger123.com/mailman/listinfo/sql-ledger

Reply via email to