Summary: | www-apps/owncloud-4.5.1 doesn't set the right ownership permissions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vincent Brillault <gentoo> |
Component: | Current packages | Assignee: | Alexey Shvetsov <alexxy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | voyageur, web-apps |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Use 'webapp_serverowned -R' instead of 'webapp_serverowned' in the ebuild |
Indeed. This worked in current versions as data/ and config/ (except the sample conf) are empty and for apps/ as long as the apps are not updated/modified. I killed two birds with one stone and added the recursive flags while bumping the new versions. This is now fixed in 4.0.9 and 4.5.2, thanks for the report! |
Created attachment 327910 [details, diff] Use 'webapp_serverowned -R' instead of 'webapp_serverowned' in the ebuild In the owncloud installation documentation, we can read: ''' The owner of your webserver must own the apps/, data/ and config/ directories in your ownCloud install. You can do this by running the following command for the apps, data and config directories:chown -R www-data:www-data /path/to/your/owncloud/install/data ''' Please note that they are using a '-R' here. The ebuild is specifying only server-ownership of the directory, not recursively (which causes files to be linked, not copied). I attached a simple patch for correcting this.