You have to add a new user and a new group for OME. Name ome
both the OME user and the OME group. At this point, you have to
change the ownwership of the OME_DEPLOY directory and of everything
contained in there. Of course, the new user and group will have
to be ome , as in the following example (OME_DEPLOY
is /OME):
chown -R ome:ome /OME
The next step involves setting appropriate file and directory permissions
for the OME user and group. First of all, grant read/write/scan
privileges on the OME_DEPLOY directory (OME_DEPLOY is /OME):
chmod 0770 /OME
Then, grant read/scan privileges on the html, JavaScript,
images, perl and cgi directories (OME_DEPLOY
is /OME):
chmod 0550 /OME/html /OME/JavaScript /OME/images /OME/perl
/OME/cgi
Now, set read privileges for all the files in html, JavaScript,
images, and perl (OME_DEPLOY is /OME):
chmod -R 0440 /OME/html/* /OME/JavaScript/* /OME/images/*
/OME/perl/*
Finally, set read/execute privileges for all the files in cgi
(OME_DEPLOY is /OME):
chmod -R 0550 /OME/cgi/*
Notice that users that are not in the OME group have no rights
on files and directories in OME_DEPLOY. The only user in the OME
group other than the OME user shall be the Apache user. Add it to
the OME group (the Apache user name is often apache ).
|