HPC/Sharing Files: Difference between revisions
< HPC
Jump to navigation
Jump to search
(created) |
m (→Sharing Types) |
||
Line 14: | Line 14: | ||
* permissions are inherited for all files placed there | * permissions are inherited for all files placed there | ||
To [mailto:[email protected]? | To [mailto:[email protected]?Subject="project group"] request the creation of a group, please send the following information: | ||
* a short (up to some 8 chars) group name | * a short (up to some 8 chars) group name |
Revision as of 20:52, February 24, 2010
Introduction
When you collaborate with other users on a common project on Carbon, you may wish to share files among you. There are several ways to achieve this, largely distinguished by how often and for how long sharing is needed.
Sharing Types
Using a Unix group
The system admin can create a Unix group for you.
- suitable for ongoing exchanges
- a matching group directory will be located in
/home/share/groupname/
- mutually writable among members, without concessions to other users
- permissions are inherited for all files placed there
To "project group" request the creation of a group, please send the following information:
- a short (up to some 8 chars) group name
- the user list (later changes are easy)
Sharing in your own directories
You can give access to some your directories in your respective $HOME or $SANDBOX by opening permissions.
- typically one-way (unless you grant world-write)
- likely to need chmod whenever more files are placed.
You can arrange this on your own as follows:
- Owner
chmod a+x $HOME/ mkdir $HOME/share # populate .. chmod -R a+rX $HOME/share
- Reader
cd /home/owner/share ls cp -p ....
If you have particularly largefiles, replace $HOME
and /home
by $SANDBOX
and /sandbox
, respectively.
Using a /tmp directory
- suitable for one-off exchanges
- typically fairly loose permissions
- resides on only one host
- world-write not recommended
- likely to need chmod whenever more files are placed
You can arrange this on your own as well:
mkdir /tmp/foo # populate .. chmod -R a+rX /tmp/foo