php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #275 chmod() cannot deal with setgid, setuid and sticky bits...
Submitted: 1998-04-15 07:19 UTC Modified: 1998-04-15 15:54 UTC
From: priyadi at priyadi dot ml dot org Assigned:
Status: Closed Package: Other
PHP Version: 3.0 Release Candidate 3 OS: Linux 2.0.33, BSDI 3.0
Private report: No CVE-ID: None
 [1998-04-15 07:19 UTC] priyadi at priyadi dot ml dot org
chmod() breaks file permission if used with setuid, setgid
or sticky bit...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-04-15 15:54 UTC] zeev
One must specify octal numbers when giving arguments to 
chmod()
e.g. 04755 (octal) instead of 4755 (decimal)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 03:01:28 2024 UTC