Re: CHMOD...
| From: | Marek Kilimajer | Date: | Thu, 04 Dec 2003 13:57:12 +0000 |
| Subject: | Re: CHMOD... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171823@lists.php.net to get a copy of this message | ||
Jay Blanchard wrote:
Yes you can, but 'tis not a swell idea. You can exec the chmod command exec("chmod 0777 /directory/*"); You still cannot set all sub directory and files within those permissions. Best to loop through and set each as needed, don't forget to cahnge them back.Yes, you can: exec("chmod -R 0777 /directory/*");