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

From: Date: Mon, 11 Sep 2000 00:21:19 +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-32853@lists.php.net to get a copy of this message
ID: 6641 Updated by: joey Reported By: jbdamask@earthlink.net Status: Closed Bug Type: Filesystem function related Assigned To: Comments: umask Previous Comments: --------------------------------------------------------------------------- [2000-09-10 00:20:27] joey@php.net Have you checked your umask lately? http://www.php.net/manual/function.umask.php --------------------------------------------------------------------------- [2000-09-09 18:53:23] joey@php.net Have you checked your umask lately? http://www.php.net/manual/function.umask.php --------------------------------------------------------------------------- [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 (#32853) next »