Re: Changing permissions with mkdir?
| From: | Jason Wong | Date: | Sun, 12 Jan 2003 08:59:32 +0000 |
| Subject: | Re: Changing permissions with mkdir? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131319@lists.php.net to get a copy of this message | ||
On Sunday 12 January 2003 12:56, Ben Cheng wrote:
> When I run mkdir("path to new dir", 0777); I get a directory that has
> owner and group set to "nobody" and drwxr-xr-x permission. How do I
> get the permission to be set to drwxrwxrwx?
umask()
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
In America, any boy may become president and I suppose that's just one
of the risks he takes.
-- Adlai Stevenson
*/