Subject: | |
From: | |
Reply To: | |
Date: | Tue, 29 Apr 1997 10:44:55 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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
|
|
|