[ome-users] Permissions for OMERO_HOME/var/nginx_tmp?

Harri Jäälinoja harri.jaalinoja at helsinki.fi
Wed Aug 29 12:53:57 BST 2012


Hi All,

I noticed that when I restart Nginx (service nginx restart), it will set 
the permissions like this:
[root at lmu-omero2 ~]# ls /opt/OMERO/OMERO.server-4.4.2-ice33-b3/var/ | 
grep nginx
drwx------ 2 nginx root  4096 Aug 29 14:32 nginx_tmp

This causes problems for OMERO:
[root at lmu-omero2 ~]# service omero restart
Server not running
FATAL: Cannot access 
/opt/OMERO/OMERO.server-4.4.2-ice33-b3/var/nginx_tmp, a required 
file/directory for OMERO

If I just change the permissions,
[root at lmu-omero2 ~]# chmod go+rwx 
/opt/OMERO/OMERO.server-4.4.2-ice33-b3/var/nginx_tmp
OMERO starts up fine.

Is this a good way to fix this? What is the purpose of this directory, 
should it be kept less public for security reasons etc.?

Thanks, regards,
Harri




More information about the ome-users mailing list