Edit report at http://bugs.php.net/bug.php?id=38025&edit=1

 ID:               38025
 Comment by:       james at gogo dot co dot nz
 Reported by:      flconseil at yahoo dot fr
 Summary:          Missing stream wrapper methods
 Status:           Open
 Type:             Feature/Change Request
 Package:          Feature/Change Request
 Operating System: All
 PHP Version:      5.1.4

 New Comment:

In the 4 years since this bug/feature request was reported, flock() has
been 

implemented.



I can not see any documentation to indicate that touch(), chmod() etc...
are 

possible to implement with stream wrappers yet.



url_stat() is able to provide read access for these data points, but
there is no 

means to provide the write access.


Previous Comments:
------------------------------------------------------------------------
[2006-07-06 16:59:40] flconseil at yahoo dot fr

Description:
------------
The following functions cannot be implemented in a stream wrapper
because the corresponding methods don't exist :



- chgrp & lchgrp

- chown &lchown

- chmod

- flock

- link & symlink/readlink

- touch



To be confirmed for :



- ftruncate

- realpath



For most of these (links, owner, mode), as the values can be returned by
stat/lstat() calls, PHP should provide a way to set/modify them.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=38025&edit=1

Reply via email to