What is the umask()?  What is that used for?  How do I set that up
right?

Matt

-----Original Message-----
From: Jason Wong [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2003 3:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] create a chmod'd file

On Saturday 14 June 2003 03:01, Matt Palermo wrote:
> It just doesn't chmod the file.  It doesn't produce errors except for
later
> on in the script when it says it can't access the file with write
> permissions (but it should already be chmod'd by then).  Thanks.

If chmod() fails I'm pretty sure it spits out an error, so if you've
already 
cranked up error reporting and are 100% positive there's no error being 
reported then have a look at your umask() setting.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Q:      What do you get when you cross a mobster with an international
standard?
A:      You get someone who makes you an offer that you can't
understand!
*/


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




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

Reply via email to