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 15317 - Filesystems should notify about r/o flag change on a file
Summary: Filesystems should notify about r/o flag change on a file
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: Other Linux
: P4 blocker (vote)
Assignee: rmatous
URL:
Keywords: API
Depends on:
Blocks: 11823
  Show dependency tree
 
Reported: 2001-09-10 12:10 UTC by Svata Dedic
Modified: 2008-12-22 19:42 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2001-09-10 12:10:19 UTC
There's no event (documented) which is sent when file's read-only status 
changes. I think fs support should inform about such changes as well - the 
GUI/view of the file may need to update itself.
Comment 1 Jan Chalupa 2001-11-27 13:03:43 UTC
Target milestone -> 3.3.1.
Comment 2 Peter Zavadsky 2002-07-15 15:06:25 UTC
I add my vote. In support it would be much better to listen for such a
change, then always checking the file is [read-only], which is now
very cumbersome, the handling [read-only] property. -> (issue #24462).
Comment 3 Marek Grummich 2002-07-22 11:26:59 UTC
Set target milestone to TBD
Comment 4 Marek Grummich 2002-07-22 11:28:31 UTC
Set target milestone to TBD
Comment 5 rmatous 2002-07-23 10:54:29 UTC
I supose that FileChangeListener can`t be extended because of backward
compatibility, so fileChange can be fired with passed 
FileChangeEvent with additional method.
Comment 6 Peter Zavadsky 2002-07-23 14:19:37 UTC
That's a question for Yarda.
Comment 7 Jaroslav Tulach 2002-07-24 12:35:57 UTC
Let's use FileAttributeEvent for that purpose. If readonly status
changes fire "readOnly" attribute change.
Comment 8 rmatous 2002-08-02 11:31:11 UTC
It would be "nice to have" such feature, but I think 4.0 is more
appropriate.
Comment 9 rmatous 2004-12-21 11:51:34 UTC
I don't plan this feature anymore. I think it make things even more
complicated. It brings need to cache value which is contraindication
for  keeping memory consumption as low as possible. There is no
possible to set r/o flag from java,there would be necessary to check
this flag periodically an so on. 

I don't like it.

Comment 10 Marian Mirilovic 2005-12-20 16:17:31 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. 

Thanks in advance.