HP3000-L Archives

January 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Fri, 16 Jan 1998 15:04:43 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Michael writes:
> Without going into too many details, I have a need to write a program that
> opens files that the user running the program normally doesn't have access
> to.  The only way that I know of to do this is to call AIFPROCPUT and give

How about a lockword on the file?  (Doesn't work for HFS files.)

Or, give the file a priv filecode (which you must specify when you
FOPEN/HPFOPEN the file).

> the user SM capability, then open the file, and finally another call to

That works.  I can't remember if it affects all processes in session or
just your process.

> parm?  How about it Stan? :)

Stan's home with the flu right now :(

--
Stan Sieler                                          [log in to unmask]
                                     http://www.allegro.com/sieler.html

ATOM RSS1 RSS2