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=33565>. 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=33565 Summary: WebdavResource's deleteMethod returns true even when it fails Product: Slide Version: 2.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: WebDAV client AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] This defect is most liekely related to 33498. The method org.apache.webdav.lib.WebdavResource.deleteMethod(String src) doesn�t work properly if the path points to a directory and the user has insufficient rights. The function returns true (i.e. as if it succeeded) even when it actually fails to delete the folder because of insufficient permissions. To reproduce: Create a directory in the repository and set the permissions such that a specific user can only read from that resource (or the parent resource). Then create a WebdavResource object for that user pointing to the directory you just created. Call the deleteMethod with the path to this directory. The function returns true even though it fails. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
