Linux User & File Management

From 2047Servers Support
Jump to: navigation, search
 
Line 75: Line 75:
  
 
  nano /etc/ftpusers
 
  nano /etc/ftpusers
 +
  
 
=== Jailing Users in a folder ===
 
=== Jailing Users in a folder ===
Line 114: Line 115:
  
  
==== Folders & Group Access ====
+
=== 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.
 
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.
Line 127: Line 128:
  
 
  usermod -a -G TF2Admins newuser
 
  usermod -a -G TF2Admins newuser
 +
 +
===FTP Permission Numbers Explained===
 +
 +
1st Number = Owner Access
 +
 +
2nd Number = Group Access
 +
 +
3rd Number = Public Access
 +
 +
 +
0 No Permissions - The User(s) can't do anything
 +
 +
1 Execute Only - The User(s) can only execute the file)
 +
 +
2 Write Only - The User(s) can only write to the file / folder)
 +
 +
3 Write and Execute Permissions - The User(s) can only Write & Execute the file)
 +
 +
4 Read Only - The User(s) can only read from the file / folder
 +
 +
5 Read and Execute Permissions - The User(s) can only read from the file / folder & execute the file
 +
 +
6 Read and Write Permissions - The User(s) can only read & write to the file / folder
 +
 +
7 Read, Write and Execute Permissions - The User(s) can do everything - Read, Write & Execute the file / folder

Latest revision as of 14:09, 4 September 2013

Personal tools
Namespaces

Variants
Actions
Navigation
Categories