From: cepek@vixvax.mgi.com
Subject: Re: Attn RT-11 gurus: file protect detection?
Date: 6 Feb 92 20:02:01 CDT [thread overview]
Message-ID: <1992Feb6.200201.1602@vixvax.mgi.com> (raw)
In-Reply-To: 1992Feb6.104432.1599@vixvax.mgi.com
In article <1992Feb6.104432.1599@vixvax.mgi.com>, I wrote:
> On RT-11, is there a way to find out if a file is protected (without
> having to muddle through the directory itself)?
:
A few additional notes:
- I have tried opening the file and reading the first block, and then
writing that block back out. This *succeeds*, *even*if*the*file*is*
protected. Recall that I wrote in my original post:
> 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).
- I've worked with this system for 6 years; this is not a novice
question (hence my Subject line). However, I certainly don't claim
to know everything about the system (just lots and lots :-).
- We are using the DECUS-C run-time library, circa 1985 (with local
mods, of course; mostly bug fixes and ANSI-C-ization).
- A valid solution to the problem should not affect the file I am
checking the protection on - contents or date stamp.
Thanks again, 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 prev parent reply other threads:[~1992-02-07 1:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-02-06 15:44 Attn RT-11 gurus: file protect detection? cepek
1992-02-07 1:02 ` cepek [this message]
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