Linux User & File Management
From 2047Servers Support
| Line 89: | Line 89: | ||
[[File:winscpuserperm.png|350px]] | [[File:winscpuserperm.png|350px]] | ||
| + | |||
| + | |||
| + | ==== Folders & Group Access ==== | ||
| + | |||
| + | As you see in the screenshot above, there are two permission types you can set on each file/folder, You can give groups access to folders you want e.g. a "TF2_Server" you want your "TF2Admins" to have access to, all you would do is create a group & add the users you want to be in that group to it. | ||
| + | |||
| + | You then set the permissions on that folder e.g. "TF2Admins" as owner of the "TF2_Server" folder, then anyone in your "TF2Admins" group will have the access they should. | ||
| + | |||
| + | use these commands to add a group & add users into that group | ||
| + | |||
| + | groupadd TF2Admins | ||
| + | |||
| + | usermod -a -G TF2Admins newuser | ||