corner1.gif (159 bytes) corner2.gif (159 bytes)

<< Previous Page
The Ftp Tutorial.

Index

Next Page >>
CGI Script Installation Trouble Shooter

 

Permissions

 

3.1 What it is.
3.2 How it works.
3.3 How to set file permissions with your FTP Client

 

3.1  What it is.

A defined set of rules that govern the access rights to files and directories. These rules give some users the 'right' to do certain things with/to files, while limiting others on what 'they' may do.

 

3.2  How it works.

When listing the contents of a directory using the unix command, ls -l, (in a Telnet or SSH session) you may see a listing like this:

Permission

 

Owner

Group

 

Date/Time

Diretory/Filename

drwxrwxrwx

1

root

root

25

May 5 22:40

cgi-bin

-rwxrwxrwx

1

yourname

users

195

May 7 11:41

test.txt

drwxrwxrwx

1

root

root

24

May 5 22:40

www

In the Permission column, the first letter indicates whether the listing is a file (-), directory (d) or link (l).
The permissions listed thereafter can be disected into three sets:

rwxrwxrwx = rwx(owner)    rwx(group)    rwx(everyone else)

The read, write, and execute permissions are referred to as r,w, and x respectively. This item can be considered 'open to everyone' as all sets in this permission group can read, write & execute to the file or directory. Consider this item:

rwxr-x--x = rwx(owner)    r-x(group)    --x(everyone else)

Here the permission setting of rwxr-x--x states that:

  • the owner has full permissions to the file

  • the 'group' is allowed to read and execute(run) the file

  • the 'everyone else' set may only run the file, they aren't allowed to read or modify the contents of the file.

The 'Owner' column lists the owner of the file or directory, and the 'Group' column lists the name of the group for the file or directory.

 

3.3  How to set file permissions with your FTP client

Most FTP clients have this ability. In your FTP client there should be a menu item or button with which you can change the attributes or permissions of your selected files or directories.

Below is instructions to set file permissions with the FTP Programs CuteFTP and WS FTP:

 


<< Previous Page
The Ftp Tutorial.

Index

Next Page >>
CGI Script Installation Trouble Shooter



ffbotl.gif (1447 bytes)
Site Map | PowerSeek | Turbo Seek | ActivDesk | FM SiteSearch Pro | SiteNet BBS | Download Monitor Pro | More Products...
Support Desk | Community Forums | Affiliate Program | Contact us
ffbotr.gif (1456 bytes)