[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Having permission problems...



Frank Volpe wrote


When I try to upload the files to the server
( to the ./usr/cgi-bin ) I find out that I don't have permission to upload
to this folder. I telnet to my server and I try to change the ownership of
the cgi-bin like this;
( [root@www /usr]# "chown ownername:groupname" ) should I do it under the
root or should I do it under ( [admin@www admin]$ ) and also under the
"chown" line should I replace the ownername with admin as well as the
groupname...

Or just a simple question: how do you change the permission on a folder not
a file ?


Telnet in as "user", not root or admin. Then browse to the directory that contains the folder. Use "chmod" to alter the permissions.

Use the following permissions as a guideline:

* CGI programs, 0755
* data files to be readable by CGI, 0644
* directories for data used by CGI, 0755
* data files to be writable by CGI, 0666 (data has absolutely no security)
* directories for data used by CGI with write access, 0777 (no security)
* CGI programs to run setuid, 4755
* data files for setuid CGI programs, 0600 or 0644
* directories for data used by setuid CGI programs, 0700 or 0755
* For a typical backend server process, 4750

For example:

chmod 711 cgi-bin (this sets the cgi-bin directory to 711 )
chmod 755 filename.cgi (do this for each of the files in the cgi-bin)

Good luck!

Lorraine
www.wssite.ws

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.