From:             master at oscontract dot com
Operating system: Linux
PHP version:      Irrelevant
PHP Bug Type:     *Directory/Filesystem functions
Bug description:  file copy error

Description:
------------
I was uploading files to my domain from my harddisk.
Everything was working fine.
But when the directory reached 1032 files, I started having problems, Iam
unable to upload further files from harddisk, it returns the following
error.

" failed to open stream: Permission denied "

though it was working fine, and I created few test dir and it uploads
fine.
Could this error be because of number of files that can be stored in a dir
is 1032 the max number of files that can be stored in a dir ?

Reproduce code:
---------------
copy("cpics/testdir/wal3.jpg","cpics/b1456/wal3.jpg");


Expected result:
----------------
it should copy a file from one folder to another folder, the destination
folder already has 1032 files, it is not accepting any ore.

Actual result:
--------------
The result is the error 
Warning: copy(cpics/b1456/wal3.jpg): failed to open stream: Permission
denied 

-- 
Edit bug report at http://bugs.php.net/?id=29355&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29355&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29355&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29355&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29355&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29355&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29355&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29355&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29355&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29355&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29355&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29355&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29355&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29355&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29355&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29355&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29355&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29355&r=float

Reply via email to