Bureaucrats, cc_docs_admin, cc_staff
2,306
edits
(Marked this version for translation) |
|||
Line 62: | Line 62: | ||
In the context of the project space, the directory owner will be the PI who sponsors the roles of the students and collaborators. | In the context of the project space, the directory owner will be the PI who sponsors the roles of the students and collaborators. | ||
=== Set User ID (SUID) === | === Set User ID (SUID) === <!--T:16--> | ||
When creating files and directories within a parent directory there are cases where it is very useful to be able to match the owner or group of the new files or directories to the parent directory's owner or group automatically. By setting the Set User ID (SUID) permission on a directory, files and directories created in that directory will inherit that owner or group. The storage quotas on Cedar and Graham project spaces are enforced by group. Depending on a file's group it will count towards a different storage quota. By setting the SUID of a directory's group any files created in it will have the same group as the parent directory and will count towards the same quota as that parent directory. To illustrate the use of SUID lets walk through an example. | When creating files and directories within a parent directory there are cases where it is very useful to be able to match the owner or group of the new files or directories to the parent directory's owner or group automatically. By setting the Set User ID (SUID) permission on a directory, files and directories created in that directory will inherit that owner or group. The storage quotas on Cedar and Graham project spaces are enforced by group. Depending on a file's group it will count towards a different storage quota. By setting the SUID of a directory's group any files created in it will have the same group as the parent directory and will count towards the same quota as that parent directory. To illustrate the use of SUID lets walk through an example. | ||
<!--T:17--> | |||
Start by checking the groups that <code>someuser</code> belongs to with the <code>groups</code> command. | Start by checking the groups that <code>someuser</code> belongs to with the <code>groups</code> command. | ||
<source lang="console"> | <source lang="console"> |