![HP G08 Reference Manual Download Page 221](http://html.mh-extra.com/html/hp/g08/g08_reference-manual_165059221.webp)
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-169
SECURE Examples
3. The new owner has ownership permission as per the underlying persistent
protection record.
User other than owner in the same group can set the PROGID and
CLEARONPURGE security attributes of a Safeguard protected file if the
OWNERSHIP (O) permission is given to the user while adding to safeguard
protection using SAFECOM.
FUP returns the error message "SAFEGUARD IS NOT LICENSED", if the
safeguard object is not licensed.
FUP SECURE with PROGID option for non-object safeguard protected file returns
the error message "PROGID CAN ONLY BE SET WITH PROGRAM OBJECT
FILES".
The owner, group manager, or super ID (255,255) can secure a file. Remote
members of the owner’s user class can also secure files if they have read and
purge access to them. If you try to use FUP to secure a file without having read
and purge security access to it, you receive file-system error 48 (security violation).
You cannot secure a file that is open with exclusive access.
If a process has a file open when you secure it, the access rights of the process
are not affected until the process closes the file.
FUP SECURE changes the security of existing files. When you create a new file,
its security is defined by your default Guardian file security. To change it, use the
DEFAULT command at the TACL prompt.
FUP SECURE cannot secure SQL files other than SQL object files. To change the
security of other SQL files, use the SQLCI SECURE command.
If you use SECURE against SQL-compiled objects, you receive error 197 (an SQL
error has occurred).
To reset security attributes, use the REVOKE command.
The
security-string
cannot begin with a hyphen (-). To set the read access to
the local super ID (255,255) only, specify a
security-num
(for example, %7
jjj
).
SECURE Examples
To change the security for MYFILE (a file in the current default subvolume) to let
any local user read the file (but only the owner can write, execute, or purge the
file):
-SECURE MYFILE, "AOOO"
To make the same change, but use the numeric notation to designate the security:
-SECURE MYFILE, %0222