diff options
author | Robin Appelman <robin@icewind.nl> | 2020-10-06 16:02:44 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-10-06 16:02:44 +0300 |
commit | ea1abdde11d0b594d7a62d140c441e5f62f68654 (patch) | |
tree | 64e10d9eaec52cbe54dba36f84daa6c3a31bf116 | |
parent | b42f87fe08b721474d1cd008f60f61586a12bdee (diff) |
add basic SELinux hint
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -29,6 +29,17 @@ If your nextcloud is using a self signed certificate for https, you'll need to i occ security:certificates:import /path/to/certificate.crt +## SELinux + +If you're using SELinux you'll need to configure it to allow executing binaries from the `documentserver_community/3rdparty` directory, for example: + +``` +semanage fcontext -a -t httpd_sys_script_exec_t '/var/www/html/nextcloud/apps/documentserver_community/3rdparty/onlyoffice/documentserver(/.*)?' +restorecon -R -v /var/www/html/nextcloud +``` + +Specific commands and paths will differ based on your specific setup. + ## Setup from git When installing from git `make` and `docker` are required. |