|
Quick Lists
|
|
Bug ID:
|
4162340
|
|
Votes
|
0
|
|
Synopsis
|
File Locking/Sharing Mechanism
|
|
Category
|
java:classes_io
|
|
Reported Against
|
1.2beta4
|
|
Release Fixed
|
|
|
State
|
11-Closed, duplicate of 4024206,
request for enhancement
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4024206
|
|
Submit Date
|
31-JUL-1998
|
|
Description
|
Maybe I'm missing something here, but I didn't see a way
to specify an exclusive lock on a file.
I realize such a feature would probably require native OS
support but that shouldn't be a problem since most OSs
support shared/exclusive access to files.
Specifically, I'd like to be able to specify a file's access
permissions as a combination of READ/WRITE and SHARED/EXCLUSIVE
for both my process and any other processes that might try to
access the file:
My Process Permissions Permissions for Others
---------------------- ----------------------
READ_SHARED READ_ONLY
READ_SHARED READ_WRITE
READ_EXCLUSIVE none
WRITE_SHARED READ_ONLY
WRITE_SHARED READ_WRITE
WRITE_EXCLUSIVE none
READ_WRITE_SHARED READ_ONLY
READ_WRITE_SHARED READ_WRITE
READ_WRITE_EXCLUSIVE none
(Review ID: 36148)
======================================================================
|
|
Work Around
|
N/A
|
|
Evaluation
|
N/A
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |