permissions

Permissions checking

APPLICABILITY

ClearCase (general information), Attache (general information), MultiSite (general information)

DESCRIPTION

In general, only commands that modify (write to) a VOB are subjected to permissions checking. The following hierarchy (in order from most privileged to least privileged) is used, in a command-specific manner, to determine whether a command can proceed or be canceled:

For example, a member of the ClearCase group always has permission to use commands that modify a VOB. However, if you try to modify an element that you do not own, and you are not the VOB owner or a member of the ClearCase group, the command fails.

Both file-system and non-file-system objects have an owner and a group; this information is stored with the object. When an object is created, its owner and group are set to that of the user who created it. Use the protect command to change the owner (-chown) or group (-chgrp) of the object. The describe command displays the owner and group of the object.

The ClearCase scheduler maintains its own access control list (ACL),which determines who is allowed access to the scheduler and to the ACL itself. See the schedule reference page for more information.

The reference page for a command lists the permissions required to use the command.

The sections below list all cleartool subcommands and Attache commands, categorized by their permissions requirements.

None

annotate

catcr

catcs

cd

checkvob (except with -fix or -hlink)

describe

diff

diffcr

dospace 1

edcs

endview (except with -server)

file

find

findmerge 2

get

getcache

getlog

help

hostinfo

import 3

ln 4

ls

lsactivity

lscheckout

lsclients

lsdo

lshistory

lslocal

lslock

lspool

lsprivate

lsregion

lsreplica

lssite

lstype

lsview

lsvob

lsvtree

lsws

make

man

mkattype 5

mkbrtype 5

mkdir 4

mkelem 4

mkeltype 5

mkhltype 5

mklbtype 5

mkregion

mktag 6

mkview 7

mkvob 7

mkws

mount

mv 4

mvws

put

pwd

pwv

quit

recoverview

reformatview

register

reqmaster (requesting mastership only) 9

rmname 4 8

rmregion

rmtag

rmws

setcs

setsite

setws

shell

space 1

startview

umount

unregister

update

winkin

wshell

1 Except with -update or -generate

2 No permissions required for "search" functionality

3 For created elements only

4 One or more directory elements must be checked out

5 Except with -replace

6 Except for private VOB-tag

7 tandard Windows NT ACL permissions for creating a subdirectory required

8 Except with -nco

9 Must be on ACL at mastering replica

one of: element group member, element owner, VOB owner, member of the ClearCase group;
(for commands that operate on objects) object group member, object owner , VOB owner, member of the ClearCase group

checkout

checkvob -hlink

import 1

merge 2

mkattr

mkbranch

mkhlink

mklabel

mktrigger

reserve

rmattr

rmhlink

rmlabel

rmmerge

rmtrigger

unreserve

1 For checked-out directories only

2 Applies to creation of merge arrows only, not to data

one of: version creator, element owner, VOB owner, member of the ClearCase group

checkin

rmver

uncheckout

one of: element owner, VOB owner, member of the ClearCase group

chtype (element)

lock (element)

rmelem

unlock (element)

one of: user associated with event, object owner, VOB owner, member of the ClearCase group

chevent

one of: branch creator, element owner, VOB owner, member of the ClearCase group

chtype (branch)

lock (branch)

rmbranch

unlock (branch)

one of: type owner, VOB owner, member of the ClearCase group

lock (type object)

mkattype -replace

mkbrtype -replace

mkeltype -replace

mkhltype -replace

mklbtype -replace

mktrtype -replace

rename (type object)

rmtype

unlock (type object)

one of: pool owner, VOB owner, member of the ClearCase group

rename (pool)

rmpool

one of: DO group member, DO owner, VOB owner, member of the ClearCase group

rmdo

NOTE: Only the VOB owner and members of the ClearCase group can delete a shared derived object.

one of: view owner, member of the ClearCase group

endview -server

rmview

setcache -view

space -view -generate

one of: owner, VOB owner, member of the ClearCase group

chmaster

chuser

protect

one of: VOB owner, member of the ClearCase group

checkvob -fix

chpool

dospace -generate

ln -nco

lock (pool or VOB)

mkpool

mktrtype 1

protectvob2

reformatvob

relocate

reqmaster (to set access controls)

rmname -nco

rmvob

space -vob -generate

unlock (pool or VOB)

1 except with -replace

2 local administrators can also run this command

VOB owner
mktag (private VOB-tag) view owner

chview

member of the ClearCase group

setcache -host

setcache -mvfs

same permissions as for creating the type object with a mk**type command

cptype

permissions controlled by ClearCase scheduler ACL

dospace -update

schedule

space -update

SEE ALSO

Reference pages for individual commands



Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved.