Privacy and Security Notice

Archived Messages for CLAS_SLOW_CONTROL_1996@cebaf.gov: permissions and setup

permissions and setup

Mark M. Ito (marki@CEBAF.GOV)
Tue, 08 Oct 1996 16:32:05 -0400 (EDT)

Folks,

On cebafb/e/h we have been having some problems with permissions. If
you want the hallbe group to have write permission for newly created
files, you need to set your umask with the following command:

umask 012

If you want to give group write permission to a file called "filename"
then issue the command

chmod g+w filename

If you want to do this recusively for all files in and underneath a
directory called "dirname" then

chmod -R g+w dirname

In addition I have written an alternate setup script. This requires
three steps but is a bit more flexible:

1) Set your default group to hallbe. If this is already your default
group, you can omit this step. This command puts you in a new shell
with the new default group.

newgrp hallbe

2) Define which version of EPICS you want to use:

setenv EPICS /usr/site2/epics_physics/hallb

3) Set up the other stuff:

source $EPICS/install/setup_epics

tcl/tk is _not_ setup in this script.

--
Mark M. Ito, Thomas Jefferson National Accelerator Facility
12000 Jefferson Ave., Mail Stop 12H, Newport News, VA 23606
Email: marki@cebaf.gov, Office: (757)269-7175, Pager: (757)680-7175