课程: Linux Tips

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Configuring group file shares

Configuring group file shares - Linux教程

课程: 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…

内容