[
KLOE Online Software Page ] [ Bottom ]

Access permission to KLOE online software NOTE:

This page describes how write access to the KLOE online software disk can be granted to developers.

The concept of a group is used to allow write access to directories and files. The offline group use the same mechanism which is already described well in KLOE Memo #4 chapter 7.1. This page only summarizes the important issues.

For the KLOE online group the group name kloedaq has been setup on the LNF UNIX Cluster (and for the event display kloedisp). We must destinguish between using and managing the online software areas.


Using the kloedaq group ownership

Type one of the following commands to see if you have kloedaq group ownership:
on HP-UX > libwho kloedaq
on OSF1  > id
on both  > ypcat group | grep kloedaq
and then change to the new group:
> id
> newgrp kloedaq
> id
which actually makes a new login. The id command just displays your ownership and group ownership. Type exit to go back to your original session.

NOTE: To allow other developers write access to files you have created you must have a proper umask defined:

> umask
> umask 002
If you call the KLOE group startup script ~kloe/group_cshrc in your ~/.(t)cshrc file then this is automatically done. If not then you can insert the following line in your startup script:
#  Set group umask
if ( `id | cut -f3 -d"(" | cut -f1 -d")"` =~ "kloe[a-z]*" ) umask 002

Managing the kloedaq development directory tree

This describes briefly, how a directroy tree must be setup to allow group development access with the group mechanism:

> newgrp kloedaq
> mkdir skel
> ls -ld skel
drwxrwxr-x   2 wolf     kloedaq       24 Mar 31 18:53 skel
> chmod g+ws skel
> ls -ld skel
drwxrwsr-x   2 wolf     kloedaq       24 Mar 31 18:53 skel

The 's' permission garanties that all newly created directories under skel will have exactly the same group ownership and permissions.


[ KLOE Online Software Page ] [ Top ]

Suggestions, comments or questions? Please contact:

Wolfgang Grandegger (wolf@hpkloe01.lnf.infn.it)


19/3/96 WG