Setting Permissions
Introduction
The installation of a
custom
script often requires a special
file permission; however, please note that the appropriate
permissions are set automatically upon upload to your cgi-local.
However, in some instances it may still be necessary to set a file or directory
permission.
In instances (such as controllable anonymous FTP) whereby a file or
directory's public read or write permissions must be changed, the
File Manager can be used. However, our
recommended FTP client,
WSFTP,
can be used to set any numeric chmod permission setting.
How to use the WSFTP "SITE" command
- Open the WSFTP program and
connect to your web site.
- Click your right mouse button.
- Select "FTP commands" from the FTP Menu.
- Enter the desired chmod command in the SITE command field.
Example
Suppose you were preparing to enable anonymous FTP and you needed to disable
public write access to a file named sample.htm. As mentioned, the
File Manager can be used to accomplish this task, but for this example,
the WSFTP SITE command is used.
The command to set public write access OFF is:
chmod 750 <filename>
Follow the instructions above to display the SITE command field and
enter the desired chmod command as shown here.
If the file in question resides in a subdirectory of your web site, you
will first need to open the respective subdirectory before issuing the
SITE command.
© 1996 SUNNY OASIS
LinkExchange Member