HP3000-L Archives

April 1997, Week 5

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:
Craig Fairchild <[log in to unmask]>
Reply To:
Craig Fairchild <[log in to unmask]>
Date:
Tue, 29 Apr 1997 10:44:55 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
On Apr 29, 10:07am, Bryan Sippel wrote:
> Subject: Purging Privileged Files???
> Is there a utility to purge non-database privileged files (FCODE -893)?
> We created some unnecessary password files located in HFS space while
> installing Oracle.  I was able to DSCOPY the MPE files with the ;MOVE
> option to a new group to be purged, but I can't move, rename or purge
> the HFS files.
>
> Any suggestions would be greatly appreciated.
>
> Thanks.
>
...
>-- End of excerpt from Bryan Sippel


In order to purge (or just plain open) a privileged file, you must be executing
in privilege mode and be able to specify the correct file code of the file that
you're trying to open. Once you've opened the file, you can simply call FCLOSE
with the purge disposition - but you still need to be in privilege mode.

You can use the GETPRIVMODE intrinsic to promote to privilege mode, but you
must link with PM and also have PM capability in the group that the program
runs in (privileged programs must be in groups) and your user must also have PM
capability.

Or maybe there's a utility out there that will already do it for you?

Good luck,
Craig

ATOM RSS1 RSS2