-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cron.php does not honor config_is_read_only #23245
Comments
As temporary workaround, you can |
Forget that 'single' file. Following the specifications, you have to |
Of course, but that would allow the www-data user to modify the file |
That's why there is a |
Yes, but config_is_read_only is only a flag. If you have malicious/bad But write-protecting is a good hint and workaround. |
PRs welcome |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Feel free to reopen if this issue still exists with 10.0.5 RC3 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
config_is_read_only = true
in config.phpchown -R root:www-data config/
php -f <fqpn>/cron.php
as www-data userExpected behaviour
cron script should run without problems.
Actual behaviour
But running this as root is not the brightest idea. Cron script should honor
config_is_read_only
Server configuration
Operating system:
Debian GNU/Linux 8.3 (jessie)
Web server:
nginx 1.6.2-5+deb8u1
Database:
PostgreSQL 9.4.6-0+deb8u1
PHP version:
php 5.6.17+dfsg-0+deb8u1
ownCloud version: (see ownCloud admin page)
9.0.0
Updated from an older ownCloud or fresh install:
Manual update from 8.2.2
Where did you install ownCloud from:
tarball
Signing status (ownCloud 9.0 and above):
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP
Client configuration
Browser:
Firefox
Operating system:
Arch Linux
The text was updated successfully, but these errors were encountered: