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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: priyadi at priyadi dot ml dot org
New email:
PHP Version: OS:

 

 [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-2022 The PHP Group
All rights reserved.
Last updated: Thu Dec 01 20:05:53 2022 UTC