🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3528

File access control in Java?

#3528
From: Paul Whittington
Date: Mon, 15 Dec 1997 00:00
41 lines
1807 bytes
This is a multi-part message in MIME format.
--------------FE69A2EE576C17817AD493BC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello all,

In NT and U*NIX one can control the access to a file by locking it
in various modes (e.g. in NT you can open a file DenyReadWrite).

I know that in Java you can create a RandomAccessFile object and
tell the object that is allowed to read the file, write the file, or
both.  The
question here is how to tell the underlying file system what sort of
access
you'd like to give to other potential openers of the file.

Can one do this in Java for an instance of RandomAccessFile?

TTFN Paul

--------------FE69A2EE576C17817AD493BC
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Paul Whittington
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Paul Whittington
n:              Whittington;Paul
org:            Idaho National Engineering and Environmental Laboratory
email;internet: paul@sage.inel.gov
title:          Advisory Engineer
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
version:        2.1
end:            vcard


--------------FE69A2EE576C17817AD493BC--
Technical Details
Message-ID: <3495B326.536CE935@sage.inel.gov>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,4a24ce1f501fff4b,start
X-Google-Attributes: gid1089d0,public
From: Paul Whittington <paul@sage.inel.gov>
Subject: File access control in Java?
Date: 1997/12/15
Message-ID: <3495B326.536CE935@sage.inel.gov>
X-Deja-AN: 298500870
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------FE69A2EE576C17817AD493BC"
Organization: Idaho National Engineering and Environmental Laboratory
Newsgroups: borland.public.jbuilder.java.api