forked from LondheShubham153/90DaysOfDevOps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request LondheShubham153#42 from LondheShubham153/feat/day5
Added day 6 tasks
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,28 @@ | ||
# Day 6 Task: File Permissions and Access Control Lists | ||
|
||
### Today is more on Reading, Learning and Implementing File permissions | ||
|
||
The concept of Linux File permission and ownership is important in Linux. | ||
Here, we will be working on Linux permissions and ownership and will do tasks on | ||
both of them. | ||
Let us start with the Permissions. | ||
|
||
1) Create a simple file and do `ls -ltr` to see the details of the files [refer to Notes](https://github.com/LondheShubham153/90DaysOfDevOps/tree/master/2023/day6/notes) | ||
|
||
Each of the three permissions are assigned to three defined categories of users. The categories are: | ||
- owner — The owner of the file or application. | ||
- "chown" is used to change the ownership permission of a file or directory. | ||
- group — The group that owns the file or application. | ||
- "chgrp" is used to change the gropu permission of a file or directory. | ||
- others — All users with access to the system. (outised the users are in a group) | ||
- "chmod" is used to change the other users permissions of a file or directory. | ||
|
||
As a task, change the user permissions of the file and note the changes after `ls -ltr` | ||
|
||
2) Write an article about File Permissions based on your understanding from the notes. | ||
|
||
3) Read about ACL and try out the commands `getfacl` and `setfacl` | ||
|
||
In case of any doubts, post it on [Discord Community](https://discord.gg/hs3Pmc5F) | ||
|
||
Happy Learning |