All Scripts backed by 10 years in business, free support, free updates and a 30 day money back guarantee.
Download Purchase Programming F.A.Q. Support Contact
Commercial Perl Scripts
All Form Pro Updated
Count It
Form Mailer + Attachments
Client File Manager
Da Godfaddah
Dropbox Updated
FAQ Builder
HT Manager Updated
RegisterHT
Mailing List Server
Page Updater - Text
Page Updater Pro Updated
PS Guestbook Updated
PS Lightning Search Updated
Quick File Mailer
Quick MySQL
Select-A-File
Upload Center
Free Perl Scripts
Access Log Viewer
All Form
Epoch Converter
Error Log Viewer
Invoice Center
PS Upload
Question Manager
Quick CHMOD
QuickHT
Site File Finder
Site File Lister
SSI Tag Maker
Perl Modules
Monger Calendar
Monger File
Monger Mail
Monger Persist
JavaScript Generators
PopUp Windows
Meta Gen
RGB / Hex Converter
Page Colors
Sudoku
Tutorials and FAQs
Cookies
Using CuteFTP
Using WS_FTP
Installing Scripts
Debugging
Utilities
env_vars.pl
backup.pl
restore.pl
check_email.pl
date.pl
dayname.pl
fileage.pl
format_length.pl
format_url.pl
getfile.pl
parse.pl
redirect_html.pl
Free Services
Epoch Converter
TLD Registries
RGB/Hex FInder
Colour Checker
ASCII Codes
Policies
Terms and Conditions
Privacy Policy
Refund Policy
Site Map

Form Processor with no SPAM from robots.

Anti-spam, anti-robot, anti-flame, Guestbook for your website.

Manage Remote websites from your website. Allow clients to update sections of their own web pages.

Secure file manager with upload progress meter. A printer's best friend. Find out more.

QuickCHMOD Perl CHMODing Script for Unix/Linux/Mac Servers

Windows servers do not recognize the CHMOD command.

Step 1 - Configure
  1. If you do not have access to a Plain Text File editor such as NotePad for Windows, you can skip Step 1. If you have a plain text file editor, (Mac TextEdit must be configured to treat text files as plain text) open qc.cgi and scroll down to line 25 where you will see the following three configuration variables.

  2. Make sure the path to Perl is correct at the top of your script.

  3. $DocRoot = $ENV{DOCUMENT_ROOT};

    Leave above variable as is, or if you find your Directories are not being listed, enter the absolute path to your FTP web space between quotes. You can even start reading from above your web space if permission allows. E.g. $DocRoot = "/home/username";

  4. $PrintTree = 1;

  5. Leave as is if you have less than a few hundred Directories/Sub-Directories within your $DocRoot setting. If however you have too many Directories to fetch and print each time you load qc.cgi you can set this variable to 0 (zero) to speed up page loads. You will still be able to traverse Directories one level at a time. E.g. $PrintTree = 0;

  6. $AllowDangerous = 0;

    Leave as is unless you know you need to apply permissions which are very uncommon and very dangerous. Leaving this variable at 0 (zero) will ensure QuickCHMOD prevents several file and folder modes and permissions from taking place. We all make tipos. See what I mean?

Step 2 - Install

  1. Upload the qc.cgi script in ASCII mode to any executable folder on your server. If the script is not uploaded in ASCII mode, you will receive a server 500 error. Take that to the bank.

  2. CHMOD the qc.cgi script to 755. Yes, before you can use it, you must CHMOD it.


Step 3 - Play
  1. Load the qc.cgi script in your favorite Web Browser. The Web Address you load in your Web Browser, should point to the location of the qc.cgi file you uploaded. E.g. http://www.yourdomain.com/cgi-bin/qc.cgi

  2. Remember, there is no protection in this free script, so we suggest you either

    a) CHMOD it useless when you've finished working with it. E.g. 644

    b) Delete it from your server when you've finished using it, or

    c) Upload and utilise it only from a Password Protected Directory.

    If you have configured QuickCHMOD to print your Webserver's Directory Tree, select the Directory you'd like to change to. Directories are printed in alphabetical Order. Otherwise, work your way up to the desired Directory by clicking on the Sub-Directory links listed on the left side of the page, also alphabetically sorted.

  3. CHMODing files or folders can be achieved via three separate methods. In all three cases, QuickCHMOD will return an alphabetically sorted list of files and folders that had their properties successfully updated and an update Directory and Permission Listing.

    1). Recursive Permission Update.

    To recursively change permissions for all files and all folders in the Current Directory (the Directory list you see), including all files and Directories existing within the Sub-Directories, you can apply a Recursive Permission Change. This is achieved by entering the Numeric Value near the top of the page then pressing the button labelled "Apply Recursive".

    2). Selective Permission Update (Common Attributes).

    To apply the same Numeric Value to several files and/or folders within the Current Directory (but not in the hidden Sub-Directories), follow these steps:

    1. Place a Tick in the Checkbox field on the right of the file(s) or folder(s) you'd like to change permissions for.

    2. Leave the Distinct Permissions listed to the left of the file(s) or folder(s) blank. If you select any Distinct Permssions, they will override the Common Numeric Value

    3. Enter the Common Numeric Value to be applied to all selected file(s) or folder(s) near the bottom of the page and press the button labelled "Apply Selective".


    3). Selective Permission Update (Distinct Attributes).

    To apply Distinct Numeric Value to several files and/or folders within the Current Directory (but not in the hidden Sub-Directories), follow these steps:

    1. Place a Tick in the Checkbox field on the right of the file(s) or folder(s) you'd like to change permissions for.

    2. Select the new file or folder properties for each of your selections by clicking on one of the Distinct Permissions listed to the left of the file or folder names.

    3. Leave the Common Numeric Value near the bottom of the page blank and press the button labelled "Apply Selective"
  ©2009 All rights reserved, PerlServices.net. Website hosting by LinuxHostingPlans.com