...
Codeblock |
---|
title | Change group ownership of a directory and everything it contains |
---|
|
blogin4:~ $ chgrp --recursive prj00012 somedirectory
blogin4:~ $ ls -ld somedirectory
drwx------ 1 myaccount prj00012 4096 Jul 3 2020 somedirectory |
Access for group members
Once a file (or a complete directory) has the group ownership, the file might be open access for all users in the group.
Codeblock |
---|
title | File access for the group |
---|
|
blogin4:~ $ ls -la somefile.txt
-rw------- 1 myaccount prj00012 237271040 Jul 3 2020 somefile.txt
blogin4:~ $ chmod g+r somefile.txt
blogin4:~ $ ls -la somefile.txt
-rw-r----- 1 myaccount prj00012 237271040 Jul 3 2020 somefile.txt |
Quota exceeded
Disk space, Blocks
...