From:             [EMAIL PROTECTED]
Operating system: GNU/Linux or any Unix variant
PHP version:      4.2.2
PHP Bug Type:     Feature/Change Request
Bug description:  fopen() and current user

fopen() uses the user running PHP to open the selected file.
This causes problems when you e.g. make a filemanager. All
files created with the filemanger will be owned by the www user and
chmod'ed to 644. On the other side, the filemanger
cannot alter files as they are (mostly) owned by the user (e.g. raz0).
This makes it quite hard to make useful filemanger. Other commands like
unlink() and rmdir() don't
bother whether the files are owned by one or another user.

Is there someway you can fix this?
-- 
Edit bug report at http://bugs.php.net/?id=19648&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19648&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19648&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19648&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19648&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19648&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19648&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19648&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19648&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19648&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19648&r=globals

Reply via email to