Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Attn RT-11 gurus: file protect detection?
@ 1992-02-06 15:44 cepek
  1992-02-07  1:02 ` cepek
  1992-02-07 20:24 ` Attn RT-11 gurus: file protect detection? Jerry Weiss
  0 siblings, 2 replies; 5+ messages in thread
From: cepek @ 1992-02-06 15:44 UTC (permalink / 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 \
 `-------------------------------/___________________________/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1992-02-13 16:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-02-06 15:44 Attn RT-11 gurus: file protect detection? cepek
1992-02-07  1:02 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox