Sharing data: Difference between revisions

Jump to navigation Jump to search
Marked this version for translation
No edit summary
(Marked this version for translation)
Line 120: Line 120:
* <tt>setfacl</tt> to alter them.  
* <tt>setfacl</tt> to alter them.  


<!--T:19-->
To allow a single person with username <tt>smithj</tt> to have read and execute permission on the file <tt>my_script.py</tt>, use:
To allow a single person with username <tt>smithj</tt> to have read and execute permission on the file <tt>my_script.py</tt>, use:
{{Command|setfacl -m u:smithj:rx my_script.py}}
{{Command|setfacl -m u:smithj:rx my_script.py}}


<!--T:20-->
To allow read and write access to everything within a certain directory (for example ''/home/smithj/projects/def-smithj/shared_data'') for particular group (for example ''wg-datasharing''), use the following command:
To allow read and write access to everything within a certain directory (for example ''/home/smithj/projects/def-smithj/shared_data'') for particular group (for example ''wg-datasharing''), use the following command:
{{Command|setfacl -m g:wg-datasharing:rwx /home/smithj/projects/def-smithj/shared_data}}
{{Command|setfacl -m g:wg-datasharing:rwx /home/smithj/projects/def-smithj/shared_data}}
Line 130: Line 132:
# Since the data sharing group (<code>wg-datasharing</code> in this example) is not necessarily the owner of the directory you would like to share (<code>shared_data</code> in this example), all parent directories in its path should allow public entry, that is, execute permission. They do not need to have public read permission, unless you decide to allow it.
# Since the data sharing group (<code>wg-datasharing</code> in this example) is not necessarily the owner of the directory you would like to share (<code>shared_data</code> in this example), all parent directories in its path should allow public entry, that is, execute permission. They do not need to have public read permission, unless you decide to allow it.


<!--T:21-->
How does you achieve these three requirements?  
How does you achieve these three requirements?  
* Send email to [mailto:support@computecanada.ca support@computecanada.ca] requesting creation of data sharing group, indicate name of the group you would like to have and that you should be the owner.
* Send email to [mailto:support@computecanada.ca support@computecanada.ca] requesting creation of data sharing group, indicate name of the group you would like to have and that you should be the owner.
Line 135: Line 138:
[[File:Cc services screen.png|1036px|Services screen displaying groups you can manage]]
[[File:Cc services screen.png|1036px|Services screen displaying groups you can manage]]


<!--T:22-->
* Clicking on the group's name, enter the group management screen:
* Clicking on the group's name, enter the group management screen:
[[File:Cc service management screen.png|1036px|Services screen showing group's owner]]
[[File:Cc service management screen.png|1036px|Services screen showing group's owner]]
Line 141: Line 145:
[[File:Cc service add member success screen.png|1036px|Services screen showing members of the group]]
[[File:Cc service add member success screen.png|1036px|Services screen showing members of the group]]


<!--T:23-->
* Make sure that <code>/home/smithj/projects/def-smithj</code> can be traversed by anyone, that is, ensure it has execute permission turned on:
* Make sure that <code>/home/smithj/projects/def-smithj</code> can be traversed by anyone, that is, ensure it has execute permission turned on:
{{Command|chmod -R o+X /home/smithj/projects/def-smithj}}
{{Command|chmod -R o+X /home/smithj/projects/def-smithj}}
Bureaucrats, cc_docs_admin, cc_staff
2,879

edits

Navigation menu