PHP 4.0 Bug #6641 Updated: Permissions not being set correctly

From: Date: Sat, 09 Sep 2000 22:53:23 +0000
Subject: PHP 4.0 Bug #6641 Updated: Permissions not being set correctly
Groups: php.dev 
Request: Send a blank email to php-dev+get-32788@lists.php.net to get a copy of this message
ID: 6641 Updated by: joey Reported By: jbdamask@earthlink.net Status: Feedback Bug Type: Filesystem function related Assigned To: Comments: Have you checked your umask lately? http://www.php.net/manual/function.umask.php Previous Comments: --------------------------------------------------------------------------- [2000-09-09 13:12:24] jbdamask@earthlink.net 1) Attempt the following script from a web browser: mkdir("dir/name", 0777) 2) Then log into your server and go to the directory. Running ls -l indicates a file perm equivelent to 0755. Basically I can't set write permissions to group or user. 2a) If I immediately follow this with: chmod("dir/name", 0777) the permissions are set correctly. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6641

« previous php.dev (#32788) next »