This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: 1)Mount some web module, rightclick on WEB-INF node and select "Export WAR File ..." menuitem 2)In "Choose WAR File Name" dialog select some directory with readonly permissions and try toexport WAR file into it. Notice, that "Unexpected Exception" dialog appears and this dialog suggest you to file a bug. War packager must check for permissions or handle such situations more user friendly. Please see attached stack trace for details. Reproduced on S1S 4.1 build 030116
Created attachment 8630 [details] Stack trace
Fixed in trunk. (web.context.actions.PackageWarAction.java rev. 1.9)
Verified in NetBeans dev build 200302130100. Error dialog now given when attempting to export WAR to a read-only system. The text may need to be modified though. I've notified Ann Sunhachwee to take a look at the text.
With r/o directories all works well. The same exception thrown if folder has following permissions: "drw-rw-rw-" or "d-w--w--w-". Of course, it is rare situation, but maybe it can be fixed by the same fix.