|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36101 file rwx
Submitted: 2006-01-20 14:22 UTC Modified: 2006-01-20 14:32 UTC
From: jackkempes at hotmail dot com Assigned:
Status: Not a bug Package: *Directory/Filesystem functions
PHP Version: 5.1.2 OS: 2.6.12-1.1456_FC4smp
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: jackkempes at hotmail dot com
New email:
PHP Version: OS:


 [2006-01-20 14:22 UTC] jackkempes at hotmail dot com
copy, chmod , fopen will not work !

Reproduce code:
if (is_writable($filename)  &&  is_readable($filename) && is_executable($filename) ) {
   echo 'kirjoitus,luku ja suoritus';
 else {
   echo 'ei voi kirjoittaa';

Expected result:
kirjoitus,luku ja suoritus
Warning: fopen(/filet/possu.txt) [function.fopen]: failed to open stream: Permission denied in /var/www/html/aja.php on line 5

Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/html/aja.php on line 6

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/html/aja.php on line 7


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-20 14:31 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2006-01-20 14:32 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 17:01:28 2024 UTC