Support

Admin Tools

#11919 PHP File Change Scanner requires and uses /tmp folder, even if path changed

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 Tuesday, 10 April 2012 07:58 CDT

ejw
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? there are none about the scanner
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 2.5.4
PHP version: 3.5.10
MySQL version: 5.1
Host: Hetzner.de
Admin Tools version: 2.2.5

Description of my issue:
On a fresh site with only a few extensions installed I tried to run the initial PHP File Change Scanner. The documentation mentiones the requirement for a writable temp directory and it's Global Configuration. I have followed the security checklist on joomla.org and changed my temp directory from the site root to somewhere else which is recognised by the system information as well, and it is writable, all good so far. I deleted the original /tmp folder though.

While running the scanner I noticed in the database that the /tmp folder was used - the one that was not there anymore, so the scan did not stop but went on for "ages". I then manually added the /tmp folder in the site root again which allowed the scan to be completed.

This (and the fact that there is nothing in the new temp folder but an akeeba.backend.log in the siteroot/tmp) tells me that the temp directory set in the Global Configuration is indeed NOT used, which I believe it should.

Hope this helps make your fantastic software a bit better (and not end up as a tweet ;-))
Best wishes,
Erik


N.B.:
Is it intended, that the configuration setting (for the calc diffs) is reset to "no" after a scan? Actually, "save and close" seems not to save a "yes" and even revert a "yes" to a "no" if "yes" was saved before.

nicholas
Akeeba Staff
Manager
You are right, that was due to a line I forgot to change. I just uploaded a new dev release. Can you please install it and confirm that it fixes this issue?

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!

ejw
I installed the dev release com_admintools-revC74857D-pro.zip but the behaviour is not changed, sorry, something must still be looking for {siteroot}/tmp and the folder not being there avoids the run being completed

nicholas
Akeeba Staff
Manager
You are right. It would have helped I would have uploaded all modified files. Please install the new revD802F90 dev release.

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!

ejw
:-)

that did the trick, works as intended now, thanks for your quick replies!

nicholas
Akeeba Staff
Manager
Thank you for your bug report and your feedback!

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!