| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The permissions are already catched properly on the installation so we just have to check whether the file is readable to prevent fatal errors from happening.
Fixes https://github.com/owncloud/core/issues/12135
|
|
|
|
| |
Potentially fixes https://github.com/owncloud/core/issues/11678
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a file lock to the config in hope that this prevents race conditions as reported in https://github.com/owncloud/core/issues/11070
Testplan:
- [ ] Delete config.php and make it read-only => Error is thrown that it is not writeable
- [ ] Installation still works
- [ ] Changing config settings works (i.e. using the SMTP config switches in the administration menu)
- [ ] Your PC didn't blow up
- [ ] Installing the news app and the "Disable AppCode checker" app did not destroy your installation
Only skip the main config
Otherwise read only additional configs might not be processed
Test on tmpdir
|
|
|
|
| |
* test case added to avoid adding them later
|
| |
|
| |
|
|
|
|
| |
is shown.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720
Enabled analysis tools:
- PHP Analyzer
- JSHint
- PHP Copy/Paste Detector
- PHP PDepend
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Conflicts:
lib/private/vcategories.php
|