From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Configuring group file shares

Configuring group file shares - Linux Tutorial

From the course: Linux Tips

Configuring group file shares

- [Narrator] When two or more users need to work on the same files, we need to do a little bit of work to get the permissions right. On a Linux system, user files are generally kept in each user's home directory, making it a little bit tedious to share files between users. Even if you know where the files you're sharing are kept, you may need to modify the permissions to allow collaboration, but a better approach if there a number of files that need to be accessed and modified by many users is to create a different directory outside of the home directory to store those files and make sure their permissions are set appropriately. As an example, a creative directory inside of Srv called shared. When I create something in one of these root directories like Srv, I need to do so as the super user, and so that directory has read, write, execute for the root user and read and execute for others. We can go ahead and open up the permissions on this directory to allow other users to write files…

Contents