Professional Documents
Culture Documents
Welcome: Server Administration and Cloud Management
Welcome: Server Administration and Cloud Management
to
1
Server Administration and Cloud Management
Association: BASIS
Supported by:
Skills for Employment Investment Project (SEIP)
Finance Division, Ministry of Finance, Govt. of Bangladesh.
2
Md Rubel Hossain
Server Administration and Cloud Management
Trainer @
BASIS Institute of Technology & Management (BITM)
Call at 01710-451829
Email : rubeldonarman@gmail.com
Skype : rubeldonarman
Facebook : https://www.facebook.com/rubeldon04
LinkedIn : https://www.linkedin.com/in/rubeldonarman
Blog : https://serveradminandcloud.blogspot.com/
3
Basic File Permission
4
Permissions
• Permissions are use to create secure environment against from
unauthorized users
5
File and Directory Attributes
[root@#localhost Desktop]# ls -ls
- rw-r--r-- 1 root root 0 Jan 9 13:49 file1
1 2 3 4 5 6 7 8
1 Type
2 Permission(Access Levels)
3 Links
4 Owner
5 Owner's Primary Group
6 Size(Bytes)
7 Modification Date & Time
8 File/Directory Name
6
Access Levels
- rw- r-- r--
1 2 3 4
7
Access Modes
Permission
1. Absolute/Numeric Mode (4 2 1 [weight] )
2. Symbolic Mode (r w x)
8
Default Permissions
By Default Permissions :
For system file : 0666
For system directory : 0777
9
Default Permissions Calculation
For Normal User:
File: Directory:
0666 0777
0002 0002
0022
0664 0775
0755
For root User:
File: Directory:
0666 0777
0022 0022
0644 0755
10
Modifying the Permissions
11
Example of Permission
1.Absolute/Numeric Mode
[root@#svr ~]#chmod <754> <object>
[root@#svr ~]#chmod 754 dir1
2.Symbolic Mode
[root@#svr ~]#chmod <o+w> <object>
[root@#svr ~]#chmod u=rwx,g=rx,o=r dir2
12
Change Ownership of Files and Directories:
13
Thanks
14
Q&A
15