From: cepek@vixvax.mgi.com
Subject: Attn RT-11 gurus: file protect detection?
Date: 6 Feb 92 10:44:32 CDT [thread overview]
Message-ID: <1992Feb6.104432.1599@vixvax.mgi.com> (raw)
On RT-11, is there a way to find out if a file is protected (without
having to muddle through the directory itself)?
There don't seem to be any system requests for such a seemingly
simple task; none of these seem to help: .CSTAT, .DSTATUS, .ENTER,
.LOOKUP, .PURGE, .RENAME, etc.
Note that I don't want to _change_ the protection (that's easy with
.FPROT), I want to find out what it currently is for a file.
In fact, the documentation says that you can do a .LOOKUP on a
file that is protected and then write to it (honest! look up .FPROT).
So how the heck am I supposed to know that I _shouldn't_ change
the file because it is protected? KEX does it:
?KEX-W-Output file or device protected- Inspect (Y,N) ? _
(At this point, I'd even be willing to entertain something undocumented.)
Thanks in advance.
,--------------------------------,___________________________
/ Mike Cepek, Sr. Software Eng. / Internet: CEPEK@MGI.COM /
\ Management Graphics, Inc. \ Voice: +1 612/851-6112 \ "Engage."
/ 1401 East 79th Street / Operator: +1 612/854-1220 /
\ Minneapolis, MN 55425 USA \ Fax: +1 612/854-6913 \
`-------------------------------/___________________________/
next reply other threads:[~1992-02-06 15:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-02-06 15:44 cepek [this message]
1992-02-07 1:02 ` Attn RT-11 gurus: file protect detection? cepek
1992-02-07 18:16 ` Soln: Attn RT-11 gurus: file protect detection cepek
1992-02-13 16:51 ` John M. Crowell
1992-02-07 20:24 ` Attn RT-11 gurus: file protect detection? Jerry Weiss
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox