I ve just tried to update owncloud from 10.1.0.4 to 10.2.1 and failed…
Im running owncloud over centos 7 (apache, mysql)…
The process gave me this message:
The following files and directories are not writable:
… and 8260 more items
Im learning how to use Centos 7/ Linux and its commands so im very inexperienced in commands and other issues.
Could anybody write me the exact command to run and fix this problem please?
this looks like you copied the ownCloud files as another user than the webserver user and did not change the permissions.
For centos the following line should fix your permissions: sudo chown -R apache:apache /var/www/html/owncloud/
Please take care, that those permissions remain intact.
Of course, updating is still not possible because selinux prevents files from being written.
You may change the policy for your owncloud directory permanently as shown in the link from my previous post or you may temporary disable the httpd policy and renable it again. This is documented in the ownCloud documentation:
Ive just download owncloud .zip and with winscp move those missing files to server, then i rescan and now it is fixed.
This owncloud is use for educational purpose (for a little local school).
An it company gave us free of charge a VPS to install owncloud and other things, but because i dont have any knowledge of linux i had to ask a friend to install owncloud for me in the vps.
I think that the installation and the configurations werent succesfully done… it appears some warnings in the “security & setup warnings” section…
If you know somebody that can help us to fix this errors please send me a message. We could pay.