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.

Bug 47177

Summary: Directory is write protected error box is confusing
Product: profiler Reporter: jmacgill <jmacgill>
Component: BaseAssignee: issues@profiler <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description jmacgill 2004-08-12 23:39:11 UTC
When attaching to a running application, if a 
directory which is write protected is selected 
for the Working Directory then an error box is 
displayed.

It states...
"The directory is write protected.
Please make it writable"
Yes, No, Cancel

This reads like a request to the user to do 
something.  Better would be
"The directory is write protected.
Make it writable?
Yes, Cancel"

No is of no use as hitting it just causes the 
dialog to reapear.
Comment 1 jmacgill 2004-08-13 13:43:52 UTC
Ah, it IS a request to the user to go and change the permissions. 
However, the yes / no / cancel still makes little sense.
Comment 2 anovak 2004-08-20 14:58:45 UTC
Quite common behavior of Windows is that if a program uses a file then
this file is "locked" and cannot be deleted/written/etc.
Comment 3 iformanek 2004-09-01 12:10:23 UTC
Agreed, Yes/No/Cancel makes no sense, will change to OK/Cancel
Comment 4 iformanek 2004-09-01 12:23:32 UTC
Fixed in M2 codebase
Comment 5 iformanek 2004-09-01 12:23:51 UTC
... and marking as fixed
Comment 6 Marian Mirilovic 2005-07-15 07:55:48 UTC
closed