Give Examples - HP T6553 D45 Reference Manual

File utility program
Table of Contents

Advertisement

FUP Commands
User other than owner in the same group can alter the ownership 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.
If you try to change ownership of a Safeguard-protected file at the subvolume level
but you do not have owner permission, you receive file-system error 48 (security
violation).
If you try to use the GIVE command to change the ownership of a file that is not
Safeguard protected but do not have purge permission on the file or are not the
super ID (255, 255), you receive file-system error 48 (security violation).
You cannot use the GIVE command on a file that is currently open with exclusive
exclusion mode.
If a file is given to another user while the file is open for a different process, the
access rights of the process that has it open are not affected.
If you give a program file whose PROGID bit is set, the GIVE command clears that
bit. To set the PROGID bit, use the FUP SECURE command. If the bit is set, the
accessor ID is set to the ID of the program file when the program is run.
Note. For more information, see the Guardian Programmer's Guide.
Files that you give to another user remain in their original subvolume. To move a
copy of a file to another subvolume, use FUP DUP. After you give a file to another
user, you might not be able to duplicate it because you are no longer the owner.
GIVE can only give SQL files that are SQL object files. For other SQL files, you
must use SQLCI ALTER, CREATE, and SQLCI SECURE instead.
If you do not own all the files in a subvolume that you specify in fileset-list,
first use the ALLOW option (within the CONFIGURE command), to set the number
of allowable errors high enough to complete the GIVE operation.

GIVE Examples

To give ownership of all files in the current default subvolume to the user with user
ID 8,1:
-GIVE *, 8,1
To give the files PROG1, PROG2, and LIB in the subvolume $WORK.ORG to the
user whose user ID is MANUALS.MARTIN:
-GIVE ($WORK.ORG.PROG*, $WORK.ORG.LIB), MANUALS.MARTIN
File Utility Program (FUP) Reference Manual—523323-014
2-79
GIVE Examples

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G08H01H02

Table of Contents