| |
|
|
|
|
SGI Altix Accounting FAQ |
The chmod command is used to set the permissions to grant or restrict access to your
directories/files.
To grant file access to another user, set the permissions so that ...
- all files to be shared, are set to world readable
- all directories, starting at your home directory down to the directory where the files are located
should be set to world readable and world executable
Permissions can be set on a group of files, by using wildcards("*" and/or "?") for files that have a common
pattern in the filename, or set permissions recursively for all directories/files under and including a
parent directory, by using the "-R" option.
- chmod a+r *.txt
- chmod -R a+rX /u/ac/jsmith/sub_dir01
To unset the world permissions that were set with the commands listed
above use o-.
- chmod o-r *.txt
- chmod -R o-rX /u/ac/jsmith/sub_dir01
respectively.
See the man pages for the chmod command for more info.
Note: Default permission on user's home directories are world executable, which allows a pass through behavior.
These permissions will restrict anyone from listing the contents of the owner's home directory, but will allow
a requester to list a specific target file or sub-directory's contents provided, the owner gives the requester
the exact path to the target file or directory and that the permission have been set on the targets to enable
access for the user who has requested access to the targets.
For additional info on setting permissions on directories/files you can find several online tutorials like
Wikipedia - chmod
Linux Ownership and Permissions Lab
Tutorial for chmod
Modify User Permissions
This is probably because you do not have the current system environment.
If
you haven't customized your $HOME/.soft file, delete this file,
log off and log back on. A new .soft file with the current
system environment will be created for you.
If you have customized your
.soft file, replace the softenv macros in the file (such as
@default, @teragrid)
with:
@teragrid-basic
@globus-4.0
@teragrid-dev
Then issue the command resoft or log off and log back on for the changes
to take effect.
Back to top
|
|
|
|
|