From the course: Ubuntu Linux: Essential Commands and System Administration
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Configure permissions to allow group collaboration
From the course: Ubuntu Linux: Essential Commands and System Administration
Configure permissions to allow group collaboration
If we have a folder where we want collaboration to happen, the permissions can get tricky. As users create documents, they become the owners. And depending on the permission setup, others may not have access to edit them. We can resolve this somewhat by setting very open permissions on all the files as they're created. But there's a better way. We can configure a folder to give files created inside of it the same group designation as the parent folder, making sure that anyone editing files in the folder, as long as they have access to it, can work on the same files without having specifically set up the group permissions for every file. This is a special permission mode called set group ID or setgid. I'll create a folder here at the root of my drive called shared, with mkdir shared. And then I'll set the group on it to finance with chgrp finance /shared. And I'll set the permissions for the group so group members can write to the folder with chmod g+w /shared. Now we need to find a…
Contents
-
-
-
-
-
(Locked)
Users and groups6m 24s
-
(Locked)
Create user accounts3m 55s
-
(Locked)
Modify and delete user accounts3m 36s
-
(Locked)
Create and modify groups2m 39s
-
File permissions5m 29s
-
(Locked)
Configure permissions to allow group collaboration3m 15s
-
(Locked)
Access Control Lists (ACLs)1m 31s
-
(Locked)
Using and granting access to sudo4m 44s
-
(Locked)
-
-
-
-
-
-
-
-
-