Creating group folders for Linux users 2: Creating directories and setting permissions

preview_player
Показать описание
This is a 2 part series about creating shared folders for groups to use. In this second video we use mkdir, chgrp, and chmod to create our group directories and apply permissions.
Once created, we login as various users and confirm group members can read/write to the folders, while non-members cannot access the folders.

Рекомендации по теме
Комментарии
Автор

Great video. Studying for my linux and couldn't get my head around user permissions - spend ages with so many videos (am not the best at studying) and this video in 20 mins made it stick for me! plus no other video was showing the sticky part of permissions and i couldnt understand how users could have access to other peoples files created in the folders when the user created a file and now i know :)

mason
Автор

Excellent tutorial! Thanks for taking the time to put this together, and posting it to YouTube.

hemispace
Автор

Noice... I have exact scenario & I made through it. but now the problem is that when a user open a document from shared folder with open office it gives gvfs input/output error, the solution cifs-utils but will it keep all the permissions attached if yes what changes should be made to cifs. conf & fstab?? secondly my testpram gives error like folder not available (accounts, sales, production, materials) can yo share the smb. conf video please...!!

pranayshahare
Автор

Nice video, however with $sudo chmod g+s directoryname you did not set the sticky bit, but the "set group ID", the sticky bit would prevent other users who did not create the file inside a directory from being able to delete the file and it is set by using $sudo chmod +t directoryname. (14:00 && 14:46 you create the file with said group ID). There is a chance that I am completely wrong though xD

nouseofaname