Object permissions

Table of Contents
About object permissions
Changing object permissions
Other on-line tutorials & documentation
Click on the to move to the selected text.

Depending on how your system is set up, you may need to set up your access to your system before you can run Legion commands. This will probably involve running a command such as this:
$ . ~legion/setup.sh
$ source ~legion/setup.csh
The exact syntax will depend on what kind of shell you are using and where your Legion files are installed (i.e., the value of ~legion will depend on your individual Legion net). Consult your system administrator for more information.

The following style conventions are used in these tutorials:

About object permissions
If your system administrator has enabled Legion security, the objects that you create while logged in cannot be used by any other users. If you wish to share your objects you will need to give other users permission to read, write, or execute objects.

For our purposes, "read" methods are defined as methods that obtain but do not modify an object's state, "write" methods are methods that modify an object's state, and "execute" methods are methods that run an object.

This command works on common Legion object types: context, file, class, tty, implementation, host, and vault objects all fall into this category.

Changing object permissions
You can use the legion_change_permissions command to give other users permission to read, write, or execute your objects. There are specific lags to add [+] or remove [-] read, write, or execute permissions on objects. So, if you wanted to allow user bob to be able to read your file object foo, you would enter:
$ legion_change_permissions +r /users/bob foo
This lets bob "read" your object foo.

Other relevant on-line documents:
Click on the to go to the page.
Logging in to a running Legion system
Introduction to Legion context space
Context-related commands
Legion tty objects
Running a PVM code in Legion
Running a Legion MPI code
Running native MPI code
Quick list of all 1.7 Legion commands
Usage of all 1.7 Legion commands
FAQs for running programs in Legion
Starting a new Legion system
Legion security
Legion host and vault objects
Adding host and vault objects
Brief descriptions of all on-line tutorials

Last modified: Fri Jun 4 14:37:26 1999


[Home] [General] [Documentation] [Software]
[Testbeds] [Et Cetera] [Map/Search]