You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/01/05 06:48:08 UTC

DO NOT REPLY [Bug 39299] - Internal Server Error (500) on COPY

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39299>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39299





------- Additional Comments From michael@metaparadigm.com  2008-01-04 21:48 -------
There is no need to perform the additional stat in the ENOENT case as the
preceding apr_file_open has the APR_CREATE flag set. This means the ENOENT
status will mean that an intermediate directory does not exist (man 2 open).
Although it could also mean a dangling symlink in the intermediate path,
this is for all intents and purposes equivalent - it should still be a 409.

Attaching a simpler patch shortly.

Although the patch does not fix a second (independent) problem
(COPY/MOVE from a non readable source should not return 500) I don't see
why this is a reason why not to fix one of these bugs.

The original report for the litmus test is:
(COPY/MOVE to a destination collection where an intermediate does not exist
should return 403) which is what the patch fixes.

Perhaps a new bug should be created (COPY/MOVE from a non readable source
should not return 500) or this one left open and retitled - but can we
possbily apply a fix for one of these bugs.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org