Well, that might have been the problem so I changed permissions. But,
I still get communication error.
I gave the group in which web2py runs (www-data) rwx permissions to
the module file in question. Also, to the modules directory, the
specific application directory, and the web2py applications directory.
Still get communication error.
In general, what is the best advice for setting permissions? I
suspect I've done this badly with potentially risky permissions. As
of now I have:
folder web2py in /var, owner root, group www-data, perms = rwxrwxr-x
folder applications in web2py, ditto all
folder thisapp in applications, ditto all
folder modules, controllers, views in thisapp, ditto all
file default.py in controllers, owner root, group www-data, perms = rw-
rwxr--
This all seems a bit too permissive. For example, owner should not be
root. Assuming I change owner to another user in sudousers, are the
rest of the permissions appropriate?
Thanks!