Support

Admin Tools

#13478 Problems with Permisions

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Saturday, 08 September 2012 08:29 CDT

user7820
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version: 2.5.6
PHP version: 5.2.14
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Admin Tools version: (unknown)

Description of my issue: Hello, I have a problem that some twices my Joomla root is modified to 777 permissions and my website go down. Is there any system to disable it or do something that block this modifications? Maybe some Cron that works every hour and if root joomla is modified, reconfigured to 755?

Many thanks!

nicholas
Akeeba Staff
Manager
It would be possible to create a CRON job to run, say, every 15 minutes and do something like
chmod 0755 /path/to/your/site/root
where /path/to/your/site/root should be substituted with the absolute path to your site's root.

However, this "solution" is just dealing with the symptoms, not the problem. I would try to find out what modifies the permissions of the site's root. For starters, I'd look at the Global Configuration of the site and make sure that the temp-directory and logs directory DO NOT point to the site's root. Why? My hunch says that they do and some extension is trying to give 0777 permissions to either of those directories. Since the directory is equal to the site root you get this kind of an issue. If this is the case, I'd also find the extension which forces the 0777 permission and contact its developer immediately. 0777 permissions are a bad idea with very few exceptions.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user7820
Hi nicholas,

Many thanks for your help. Finally you are the first that say me a solution (I hope :). Many developers and also my hosting provider not says anything or say me that this is a problem related by other people.

I think that this issue are related with Jomsocial extension an his Cronjob MailQueue system.

I created the Cron that you said me and I changed temp and logs configuration to another new directories:

/home/public_html/loggers/mydomain (later this was /home/public_html/mydomain.com/log

and

/home/public_html/tmp/mydomain (later this was /home/public_html/mydomain.com/tmp

Many thanks for your help :)

nicholas
Akeeba Staff
Manager
You're welcome! When I was a Linux newbie I had to resort to posting on my local LUG's mailing list with embarrassingly trivial questions. The people there, most of them system administrators in universities and corporations, were kind enough to reply to me with abundant patience and something meaningful which would allow me to find the solution. I'm trying to do the same as much as I can :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user7820
Again thank you very much! It shows you've done your enthusiasm and your desire your work. See you soon.

nicholas
Akeeba Staff
Manager
You're welcome :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!