Date: 09/14/01
- Next message: Derick Rethans: "Re: [PHP-DEV] Versioning (resent due to lack of replies)"
- Previous message: Alexander Wirtz: "Re: [PHP-DEV] Versioning (resent due to lack of replies)"
- In reply to: designs <email protected>: "[PHP-DEV] Bug #13299: mkdir([DIR], 0777); wont set file permission"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 13299
User updated by: designs <email protected>
Reported By: designs <email protected>
Old Status: Open
Status: Closed
Bug Type: Directory function related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Problem solved.
Clearly not a bug as it can be alleviated by setting the sticky with mkdir([DIR], 01777);
However, unusual as this workaround has not been needed on other systems we use. Thanks for the quick turnaround.
Previous Comments:
------------------------------------------------------------------------
[2001-09-14 11:01:12] designs <email protected>
sticky bit of directory I try to create it in are set are set to '2 joey' as default. The directory created by PHP sets a sticky bit of '2 httpd' with no permission other than root.
so you think it's a sticky problem then?
------------------------------------------------------------------------
[2001-09-14 08:10:53] hholzgra <email protected>
sticky bits set on the directory you try to create it in ?
------------------------------------------------------------------------
[2001-09-14 07:49:44] designs <email protected>
When adding directories the line
mkdir([DIRNAME]. 0777);
will not create a directory with permissions other than root. Attempted using command with umask(0000); but made no difference.
PHP is denied permission to set these privileges. How is this fixed?
PHP 4.0.6 was compiled on my Raq3 as an Apache module.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13299&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Derick Rethans: "Re: [PHP-DEV] Versioning (resent due to lack of replies)"
- Previous message: Alexander Wirtz: "Re: [PHP-DEV] Versioning (resent due to lack of replies)"
- In reply to: designs <email protected>: "[PHP-DEV] Bug #13299: mkdir([DIR], 0777); wont set file permission"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

