Skip to content

Commit

Permalink
Merge pull request LondheShubham153#42 from LondheShubham153/feat/day5
Browse files Browse the repository at this point in the history
Added day 6 tasks
  • Loading branch information
LondheShubham153 authored Jan 6, 2023
2 parents 99d5b3d + 18633d8 commit 0108b44
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions 2023/day6/tasks.md
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

0 comments on commit 0108b44

Please sign in to comment.