PHP 4.0 Bug #6641: Permissions not being set correctly
| From: | jbdamask at earthlink dot net | Date: | Sat, 09 Sep 2000 17:12:24 +0000 |
| Subject: | PHP 4.0 Bug #6641: Permissions not being set correctly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32773@lists.php.net to get a copy of this message | ||
From: jbdamask@earthlink.net
Operating system: Red Hat Linux 6.2
PHP version: 4.0.2
PHP Bug Type: Filesystem function related
Bug description: Permissions not being set correctly
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.