Do you want to change permissions within a cgi script?? Or are you wondering what that command line is for changing permissions?
If you are wondering about the former, try this:
Code:
chmod 0755, $directory_name;
If you are wondering about the latter, you can use the following command line to change permissions of directories:
Code:
chmod 755 directoryname
OR
Code:
chmod 777 directoryname
Please be more specific about how you want to change the permissions of your directories. If it is within a cgi script, there are more codes needed. Try posting a snippet of your script, so we can see what you are trying to do.
Also, try searching through the Linux web site for information on changing directory permissions with an Apache Web Server.
Regards,
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
[This message has been edited by Eliot (edited August 13, 1999).]