How about:

exec("chmod -R 755 /somedir/");

[EMAIL PROTECTED] wrote:
***********************************************
This Email Has Been Virus Swept
***********************************************

Is there anyway to use CHMOD:

chmod ("/somedir/somefile", 0755);

but have it set all files, folders etc to the CHMOD setting I want?

I have a folder, and within that, I wanna quickly, jsut set it all to CHMOD 777.
all sub DIR's and files etc...


can it be done simply?

E.G. :
chmod ("/somedir/%", 0755);

*********************************************************************
The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.
***********************************************************************




-- ---------------------- www.curvedvision.com ----------------------



This communication is confidential to the intended recipient(s). If you are not that person you are not permitted to make use of the information and you are requested to notify the sender immediately of its receipt then destroy the copy in your possession. Any views or opinions expressed are those of the originator and may not represent those of Advanced System Architectures Ltd.

*** This Email Has Been Virus Checked ***

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to