Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.42 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.42 KB

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

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 group 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

  1. Write an article about File Permissions based on your understanding from the notes.

  2. Read about ACL and try out the commands getfacl and setfacl

In case of any doubts, post it on Discord Community

Happy Learning

← Previous Day | Next Day →