beautypg.com

4 shared directory – Siemens Unix V4.0 User Manual

Page 15

background image

Introduction to Advanced Server for UNIX

Shared resources

Product Manual

U7613-J-Z815-6-76

©

S

iem

e

n

s

N

ix

dor

f

In

fo

rm

at

io

n

s

s

y

s

te

m

e

A

G

1

9

9

5

P

fad

: D:

\O

7

613

e6

\u

761

3e

.k

02

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.

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
interface 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.

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-x

are 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.

i

i

i