Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:stefjakobs
nextcloud
README.SELinux
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File README.SELinux of Package nextcloud
If you are running Fedora 16 with SELinux enabled, you need to relabel the ownCloud installation directory to allow the webserver to store files there. To do that, execute the following commands as user root AFTER you installed ownCloud: # semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/nextcloud/data' # restorecon '/var/www/html/nextcloud/data' # semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/nextcloud/config' # restorecon '/var/www/html/nextcloud/config' To remove the ownCloud directory label execute the following commands as user root AFTER you uninstalled ownCloud: # semanage fcontext -d -t httpd_sys_rw_content_t '/var/www/html/nextcloud/data' # restorecon '/var/www/html/nextcloud/data' # semanage fcontext -d -t httpd_sys_rw_content_t '/var/www/html/nextcloud/config' # restorecon '/var/www/html/nextcloud/config' Note: all of the above applies only to the default policies. If you modified them, please give the webserver write-access to the directories /var/www/html/nextcloud/data and /var/www/html/nextcloud/config Note: for non-Fedora / Redhat systems running SELinux the policy might be called differently.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor