Changing default ownership of symbolic links, Cannot be changed. see, Changing default – HP Integrity NonStop J-Series User Manual

Page 77: Ownership of symbolic links

Advertising
background image

OSS File Synchronization

HP AutoSYNC User’s Guide522580-017

5-7

Changing Default Ownership of Symbolic Links

The SECURE option for OSS files specifies read, write and execute access, for the
user (owner of the file or directory), the group and others: “rwxrwxrwx”. The complete
security string must be entered. The accepted values are:

“r” grants read access

“w” grants write access

“x” grants execute access

“-” denies access for read, write, and execute settings.

Ownership of synchronized symbolic links is a special case. By default, the owner of a
synchronized symbolic link is always the user and not the owner of the source
symbolic link or the OWNER specified in the

SYNCHRONIZE

command option.

Likewise, the group ID of synchronized symbolic links is, by default, the group ID of the
user and not the group ID of the source symbolic link or the group ID specified in the

SYNCHRONIZE

command OWNERGROUP option.

You can change this behavior as described below.

Changing Default Ownership of Symbolic Links

To set the owner of a synchronized symbolic link to a user different than the user
performing the synchronization or to set the owner to the user ID specified through the
OWNER or OWNERGROUP option, the destination ASYSYNC process, or
ASYSYNCP if synchronizing over TCP/IP, has to be privileged. A privileged ASYSYNC
or ASYSYNCP if synchronizing over TCP/IP, enables AutoSYNC to switch to the user
ID of the source symbolic link or to the specified OWNER when AutoSYNC creates the
link.

This feature is only supported if the user is SUPER.SUPER (255,255).

To make the destination ASYSYNC, or ASYSYNCP if synchronizing over TCP/IP, a
privileged process, perform the following steps on the destination system after the files
have been moved to the AUTOSYNC subvolume:

1. In BIND issue the following commands:

2. At the TACL prompt, SQL compile ASYSYNCP:

ADD * FROM ASYSYNC
SET LIKE ASYSYNC
ALTER CALLABLE^LOG^DOWN, CALLABLE ON
SET SAVEABEND ON
BUILD ASYSYNC!

SQLCOMP/IN ASYSYNCP/NOREGISTER ON

Advertising
This manual is related to the following products: