ID: 29355 User updated by: master at oscontract dot com Reported By: master at oscontract dot com -Status: Feedback +Status: Open Bug Type: *Directory/Filesystem functions Operating System: Linux PHP Version: Irrelevant New Comment:
<?php copy("cpics/testdir/wal3.jpg","cpics/b1456/wal3.jpg"); ?> Just a line that is all. There are about 50 directories in the cpics directory. One of the directory 'b1456' has 1032 image files, rest other directories have about 100 to 50 images. Now this dir:b1456 is where am unable to upload any further files. Rest other directories are fine and am able to use the above script. Can a directory not store more than 1032 files ? Let me know if you need any further details. Previous Comments: ------------------------------------------------------------------------ [2004-07-29 14:13:00] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. How can we reproduce it? Can you provide a short example? ------------------------------------------------------------------------ [2004-07-23 19:01:30] master at oscontract dot com 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 this bug report at http://bugs.php.net/?id=29355&edit=1