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 111930 - Can not remove read-only files
Summary: Can not remove read-only files
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 16:28 UTC by rost
Modified: 2009-11-02 11:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rost 2007-08-03 16:28:40 UTC
If there is a fifo (or also called "named pipe") in a project directory I can not remove it. For whatever reason the 
context menu entry "Delete" always stays gray. I can remove the file without any problems using the command line. But 
I would prefer not to switch away from NetBeans because of such a simple thing as removing a file...
Comment 1 rost 2007-09-18 07:37:41 UTC
I just tested NetBeans-6.0beta1 and the bug is still there.
Comment 2 rmatous 2007-10-23 14:47:24 UTC
If FIFO is opened for reading, the process will "block" until some other process
opens it for writing and vice versa. Blocking NetBeans forever is serious problem - reported as Issue 44404.

Fixed by not touching these files because these files are declared as readOnly - as side effect these files can't be
deleted because on readonly files isn't enabled action delete. I don't plan to fix this issue - WONTFIX.
Comment 3 rost 2007-10-29 16:09:51 UTC
Disabling the "Delete" menu entry for read-only files denies reality. It is standard to remove read-only files. Try 
this on bash:

$ > readonly
$ chmod -w readonly
$ rm -f readonly

Therefore it should also be possible to delete read-only files without switching away from NetBeans.
Comment 4 Lukas Hasik 2008-04-10 21:16:01 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 5 Antonin Nebuzelsky 2008-04-15 17:03:25 UTC
Reassigning to new module owner jskrivanek.
Comment 6 Jiri Skrivanek 2008-11-21 13:12:34 UTC
Not easy to fix in current concept.
Comment 7 Quality Engineering 2009-11-02 11:01:38 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX