J3 Issue ?
avatar Paladin
Paladin
11 Jul 2017

Steps to reproduce the issue

  1. Go to System->System Information in the administrator area
  2. click Folder Permissions Tab
  3. See configuration.php listed as "unwriteable"
  4. Go make any system config change that changes that file.
  5. Verify change has happened. (thus proving the file was in fact writeable)

Expected result

Correct permission would be displayed ("writeable" since my configuration file is writeable)

Actual result

"Unwriteable" is displayed

System information (as much as possible)

Joomla 3.7.3
Centos 7.3
Apache 2.4.6
PHP 5.6.30 using apache2handler

Additional comments

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.

avatar Paladin Paladin - open - 11 Jul 2017
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jul 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Jul 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Jul 2017
Category Administration
avatar richard67
richard67 - comment - 11 Jul 2017

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.

avatar Paladin
Paladin - comment - 11 Jul 2017

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.

avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Jul 2017
Status New Discussion
avatar richard67
richard67 - comment - 12 Jul 2017

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.

avatar Paladin
Paladin - comment - 14 Jul 2017

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.

avatar Schmidie64
Schmidie64 - comment - 21 Aug 2017

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


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17076.

avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar richard67
richard67 - comment - 18 May 2019

@Paladin @Schmidie64 Is this still an issue with Joomla! 3.9.6?

avatar joomla-cms-bot joomla-cms-bot - change - 15 Jun 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-06-15 15:27:15
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 15 Jun 2019
avatar Quy Quy - change - 15 Jun 2019
Closed_Date 2019-06-15 15:27:15 2019-06-15 15:27:16
Closed_By joomla-cms-bot Quy
avatar joomla-cms-bot
joomla-cms-bot - comment - 15 Jun 2019

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/17076

avatar Quy
Quy - comment - 15 Jun 2019

Closing due to no response.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17076.

Add a Comment

Login with GitHub to post a comment