Hi Andre,

Well, I'm not going to do your homework for you.  You were given this assignment in 
order to learn how to construct permissions.  I will offer some considerations I take 
into account when setting permissions for CGI:

Andre wrote:

> 1-The directory in wich the perl script wull run

AFAIK, the current directory is usually the one where the script is located.

> 2-The script  file itself

The public needs to read and execute this directory, so also does the group.  The 
owner, of course, needs full control.

> 3-The directory in wich the file that will be modified

Your program, once running, runs as part of the group.  The group, therefor, will need 
both read and write rights, but not execute.  The public needs, and should have, no 
rights here.

> 4-The script  file that will be modified (Created  Deleted appended et.)

No one but the owner should be modifying scripts.  The owner, and no one else, should 
have rights to write to the script directory, or any existing script in it.

> 5_the upmost directory of my structure (i dont know if needed)

You don't generally have to set this.  It should be accessible only to the owner, 
because any wider permissions grantd in subdirectories will allow those enabled by 
them to drill through to the appropriate folder.

Joseph



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to