Correct permission would be displayed ("writeable" since my configuration file is writeable)
"Unwriteable" is displayed
Joomla 3.7.3
Centos 7.3
Apache 2.4.6
PHP 5.6.30 using apache2handler
Hadn't noticed this earlier, so no idea when it happened. It has no effect on operation; its worst effect is user confusion, making someone think the configuration file isn't writeable when it is. From a quick scan of the code, it's quite possible this is an upstream bug in PHP itself, which might impact whether the permission for that file is even listed.
Labels |
Added:
?
|
Category | ⇒ | Administration |
That only happens on some systems, apparently. I see permissions of 644 with this file on a lot of systems. It's not world writeable, but it's still writeable by apache. For example, this comes from one system:
$ ls -alh configuration.php
-rw-r--r--. 1 redacted redacted 3.3K Jul 11 16:46 configuration.php
Yet the sysinfo permissions page says unwriteable.
Status | New | ⇒ | Discussion |
Does it happen on shared hosts only, or also on dedicated servers?
On shared host it could be that web server user and ftp user (which is the one also used when accessing command line with SSH) are not the same. So maybe in Joomla you see the result of the check for the group permissions.
The example I cited above came from a dedicated server. When I looked at the code, nothing jumped out at me that was "wrong," (if it had, I'd have appended a PR to fix it) hence my suggestion the bug may be upstream in PHP itself or in mod_php, or an artifact of the way my mpm_prefork workers are set up. From your response, I gather you've seen it as "unwriteable" before as well, so at least it's not only me seeing it.
I could reproduced the "Bug" by changing the offline message on the Webside. The changes override the writing permissions on the Server. I tested it on my Localserver and on a other "real" Server same result. Maybe the changes on the side override the permissions on the Server.
@icampus
Labels |
Added:
J3 Issue
|
@Paladin @Schmidie64 Is this still an issue with Joomla! 3.9.6?
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-06-15 15:27:15 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_Date | 2019-06-15 15:27:15 | ⇒ | 2019-06-15 15:27:16 |
Closed_By | joomla-cms-bot | ⇒ | Quy |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/17076
Closing due to no response.
This is by design, as far as I know and experienced. The configuration.php is set to writeable with a chmod before saving the changes, and after saving it is set to readonly again.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17076.