From: anjp2003 at indiatimes dot com Operating system: Linux PHP version: 4.3.1 PHP Bug Type: Apache related Bug description: Why do I get a "Forbidden/You don't have permission to access / on this server"
Description: ------------ Why do I get a "Forbidden/You don't have permission to access / on this server" message whenever I try to open a uploaded file(access my server) ? Sir, I want to know about the user behind the (PHP) net. Actually we are not giving executing permissions to "other" users after uploading a file. and we are adding "Apache" to the existing users of a login created. And Apache has all the "read- write-execute" permissions . But we are not even able to read the file when we don't give "executing" permissions to "other" users. Reproduce code: --------------- NOTE: DADE-I can be any login name. sudo -u root /bin/chmod 710 /home/DADE-I sudo -u root /bin/chmod 710 /home/DADE-I/public_html sudo -u root /bin/chmod 710 /home/DADE-I/public_html/uploads/source sudo -u root /bin/chmod 710 /home/DADE-I/public_html/uploads sudo -u root /bin/chmod 710 /home/DADE-I/public_html/uploads/reports sudo -u root /bin/chmod 710 /home/DADE-I/public_html/uploads/presentations sudo -u root /bin/chmod 710 /home/DADE-I/public_html/uploads/references sudo -u root /bin/chmod 710 /home/DADE-I/public_html/uploads/misc Expected result: ---------------- we shud be able to read the files....we should have access to the files... -- Edit bug report at http://bugs.php.net/?id=25169&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25169&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25169&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25169&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25169&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25169&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25169&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25169&r=support Expected behavior: http://bugs.php.net/fix.php?id=25169&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25169&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25169&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25169&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25169&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25169&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25169&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25169&r=gnused
