Permission errors on files after using admin GUI

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
scittadini
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu May 08, 2014 8:13 pm

Permission errors on files after using admin GUI

Post by scittadini » Sat Oct 25, 2014 12:11 am

Hi all,
Running into a ton of permission issues - but lets start with one. After using the /admin panel to change the global config it changes my configuration.php file to 'read only' does this without fail every single time I change a setting in the global config.

anyone have any insight to what is going on? why is joomla changing the bit of my file?

Thanks
Citti

Setup: windows server 2008 2012 R2 - IIS - PHP (FastCGI)

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17443
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Permission errors on files after using admin GUI

Post by toivo » Sat Oct 25, 2014 6:18 pm

That is a standard security measure, designed to protect the configuration.php file from unauthorised changes.
Toivo Talikka, Global Moderator

scittadini
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu May 08, 2014 8:13 pm

Re: Permission errors on files after using admin GUI

Post by scittadini » Sat Oct 25, 2014 11:59 pm

so everytime I want to make a change I need to go into my server and change the status of that file?!?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44093
Joined: Sat Apr 05, 2008 9:58 pm

Re: Permission errors on files after using admin GUI

Post by Webdongle » Sun Oct 26, 2014 12:04 am

scittadini wrote:so everytime I want to make a change I need to go into my server and change the status of that file?!?
Not sure about windows server but with Linux Joomla is seen as Owner therefore deletes the configuration.php file and writes a new one with the configuration changes. Unwritable by Owner does not mean not deletable by Owner
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

scittadini
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu May 08, 2014 8:13 pm

Re: Permission errors on files after using admin GUI

Post by scittadini » Tue Oct 28, 2014 6:30 pm

Now we are talking.
Ok so in windows the configuration file actually needed modify access.

Should this be the case for all directories/files that are listed in the System Information -> Directory Permissions tab?
Or is there documentation that lists what exact file permissions need to be? I would not have known that the config file was constantly deleting and re-writing.

Citti

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44093
Joined: Sat Apr 05, 2008 9:58 pm

Re: Permission errors on files after using admin GUI

Post by Webdongle » Tue Oct 28, 2014 6:42 pm

scittadini wrote:... I would not have known that the config file was constantly deleting and re-writing.
I am 99% sure that is what it does. It could be changing permissions saving over the existing file then changing the permissions ... but the information given to me is that Joomla deletes the file.

Google
joomla docs windows server permissions
found
http://docs.joomla.org/How_do_Windows_f ... ns_work%3F
http://docs.joomla.org/IIS#HowTo_config ... ermissions
http://docs.joomla.org/Verifying_permissions
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Locked

Return to “General Questions/New to Joomla! 3.x”