#25594 [NEW]: chmod does not handle sticky bits/setuid/setgid
| From: | shofmann at databay dot de | Date: | Thu, 18 Sep 2003 15:25:08 +0000 |
| Subject: | #25594 [NEW]: chmod does not handle sticky bits/setuid/setgid | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-47783@lists.php.net to get a copy of this message | ||
From: shofmann at databay dot de
Operating system: linux
PHP version: 4.3.1
PHP Bug Type: Filesystem function related
Bug description: chmod does not handle sticky bits/setuid/setgid
Description:
------------
consider this:
mkdir ("test",02755) creates a directory with the permissions
'drwxrwsr−x'.
ok.
But chmod("test",02775) results in 'drwxrwxr−x'.
No matter which values I choose, sticky bits/setuid/setgid are ignored by
chmod.
--
Edit bug report at http://bugs.php.net/?id=25594&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25594&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25594&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25594&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25594&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25594&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25594&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25594&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25594&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25594&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25594&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25594&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25594&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25594&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25594&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25594&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25594&r=float