Open main menu

CDOT Wiki β

Changes

OPS335 Lab 8 2018

1 byte removed, 13:51, 1 April 2017
INVESTIGATION 2: INSTALL, CONFIGURE & RUN WEBMAIL APPLICATION (Roundcube Mail)
::* Use the '''--no-same-owner''' option when extracting the tar achive to ensure that the files do not keep the original owner (who will not exist on your system).
<ol><li value="4">Change the ownership of the '''temp''' and '''logs''' directories so they belong to apache.</li>
</li>This service needs to be able to write to several directories ('''temp''' and '''logs''') that SELinux prevents write access to. If you are in a section that has SELinux set to '''enforcing''', run the following commands to let it know that apache should be allowed to write to files in those directories.
<source lang="bash">
semanage fcontext -a -t httpd_log_t '/var/www/html/webmail/temp(/.*)?'
13,420
edits