Information Release

Release date 10th August 2007

 

 

Amendments required to access Charisma files from UniVision

 

Throughout this Information release a carriage return is shown either by the symbol ¿ or <CR>. A space in a string is shown by the symbol Ñ, all other spaces are purely cosmetic

 

Problem

 

When UniVision is used to access charisma data files it needs permission to open and write to the files. As the default permissions for the files are read write for the owner and group the solution has always been to change the permissions on the files to allow access to everyone. This solves the problem for existing files but not for newly created files created through UniVision or files that are subject to ‘reorgs’ in Charisma.

 

Solution

 

The solution will be to create the ‘bml’ user with the group set to ‘univ’ when Charisma is installed and to set the umask within the Charisma profile to 000. This will be implemented by the Charisma developers at a future date.

Until the amendments are made the changes will need to be done manually.

 

Manual amendment required

 

  1. Login to Charisma and get to a tty prompt. Copy the .profile file before editing it.

 

tty:  cp Ñ .profile Ñ .profile.umask  ¿

 

  1. Edit the .profile and change the umask value from 006 to 000

 

tty: vi Ñ .profile

 

Change

 

umask Ñ 006

 

to

 

umask Ñ 000

 

  1. Log out of the system and log back in as the root user. Add the bml user to the UniVision group ‘univ’

 

# usermod Ñ –G Ñ univ Ñ bml ¿

 

For the new permissions to take effect anyone who is logged into the system will have to logout and log back in again.

 

Testing the permissions

 

 To test the permissions are correct, login as bml and get to a tty prompt. Create a file as the bml user and then logout of the bml user and login as the UniVision user and try to access and update the file.

You should repeat this process but use the UniVision user to create the file and the bml user to update the file.