Introduction to Advanced Server for UNIX

Shared resources

2.2.4 Shared directory

A shared directory is a file tree of a server system, which was shared for the usage in the local network. Users can access the shared directory from a client using the sharename. In this case, users work with the shared directory as they would with a local drive or directory on their clients.

i

The security check is not taken into account in the following description in order to avoid complexity.

The administrator is responsible for assigning a directory (for example with the server named server1) to a sharename. The administrator links the local directory name /u1/public1 to the sharename sf1 using the command: net share sf1=c:/u1/public1, at the same time sharing this resource for use in the local network.

The directory must have been created beforehand, otherwise the administration

iinterface reports an error.

The character string c: must always precede the resource pathname on the Advanced Server for UNIX.

Access information is assigned to shared directories using net perms, which is stored in the AS/X database (acl).

For example, using net perms c:/u1/public1 /grant group1:fullcontrol the group group1 is assigned read, write, and execute permissions as well as the permission to create files and directories, to change or delete attributes and to change the permissions for these direc- tories.

i

UNIX permissions have a higher priority than permissions assigned using net perms. Thus, for example, the above directory has no write authorization if the permissions r-x-r-x-r-xare set up using UNIX. If problems arise, the UNIX permissions can be set temporarily to rwxrwxrwx to establish whether the missing UNIX permissions have caused the problem.

Product Manual

U7613-J-Z815-6-76

Page 15
Image 15
Siemens V4.0 manual Shared directory