[snip] 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. [/snip]
What are the permissions of the script producing the file? Does it have the proper permission and does it 'own' the file? Most web interfaces/scripts operate as 'nobody' and therefore do not have permission to set file permissions...if you'll permit me to say so. HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php