#25594 [Opn]: chmod does not handle sticky bits/setuid/setgid

From: Date: Thu, 18 Sep 2003 15:27:56 +0000
Subject: #25594 [Opn]: chmod does not handle sticky bits/setuid/setgid
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47785@lists.php.net to get a copy of this message
ID: 25594 User updated by: shofmann at databay dot de Reported By: shofmann at databay dot de Status: Open Bug Type: Filesystem function related Operating System: linux PHP Version: 4.3.1 New Comment: Sorry, the 'minus' is translated into unicode during submission process. 'drwxrwsr−x' is read as 'drwxrwsr-x' and 'drwxrwxr−x' should be 'drwxrwxr-x'. Previous Comments: ------------------------------------------------------------------------ [2003-09-18 11:25:08] shofmann at databay dot de 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 this bug report at http://bugs.php.net/?id=25594&edit=1

« previous php.bugs (#47785) next »