Reset folder's permissions to 755 and 644 for files, this for the folder where the script is stored and any subfolders
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
LICENSE
chmod.php
octocat.tmpl
readme.md

readme.md

Banner

chmod

chmod.php will reset folder's permissions to 755 and 644 for files, this for the folder where the script is stored and any subfolders.

Use it

Just copy the chmod.php script in a folder of your site where you wish reset any permissions. Use your FTP client to do this.

  1. Get a raw version of the script : click on the raw button or go to this URL : https://raw.githubusercontent.com/cavo789/joomla_free/master/src/chmod/chmod.php
  2. On your computer, start a text editor like Notepad or Notepad++ and copy/paste there the code,
  3. If needed, change here permissions depending on your host (755 for instance for the most hosting companies, 705 for OVH, ...),
  4. Save the file (if you're using Notepad++, check in the Encoding menu that you've selected UTF8 NoBom as encoding)
  5. Put the saved file in a folder of your server

Run it

Start a browser and run the file i.e go to f.i. http://site/chmod.php.

The script will start immediatly and reset folder's permissions to, by default, 755 and 644 for files. This recursively.

Remark

Don't forget to remove the script once you've finished with it.

Credits

Christophe Avonture | https://www.aesecure.com


Get other free scripts