Support

Admin Tools

#20338 function to recursively apply the rights to files in folders

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 doc_denis on Friday, 20 June 2014 11:53 CDT

doc_denis
Hi,
it lacks a function to recursively apply the rights to files in folders, it would go much faster.

I add fees 444 555 and 644 and 755, the technique that I used is available on the joomla forum France:
http://forum.joomla.fr/showthread.php?168050-Votre-avis-sur-Admin-tools&p=1010518&viewfull=1#post1010518

thank for your good job, a french user.

nicholas
Akeeba Staff
Manager
Normally the only permissions you need are 0755 for folders and 0644 for files. If you want different default permissions for all folders and files (unless you specify otherwise) you can do that. It's in the Permissions Configuration page, at the very top. We have not added a feature to recursively apply custom permissions to all subdirectories / files of a folder because in 100% of the cases it indicates that you missed the aforementioned feature, an ownership issue (you must avoid that!) or bad understanding of what permissions do. Up and foremost, Admin Tools is a tool to help you improve your site's security. When a feature would conveniently help you screw up your site's security it's not added.

So, go back and think what do the permissions you applied mean for each folder and file. 444 is exactly the same as 644 for all practical purposes: if you are the owner of a file you can change its permissions from 444 to 644 and write to the file. 555 and 755 are also practically the same for folders, for the exact same reason. Did your changes made any difference or any sense from a security perspective? None at all. They gave you the illusion of preventing write access to your files / folders when, in fact, the owner of these files / users can still write to them just fine.

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!

doc_denis
hi nicolas
thank you for your clarification

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!