---
title: "Discussion on \"Permissions in Linux\" | Hashnode"
description: "Discussion on \"Permissions in Linux\". Permission in linux can be created and managed using the cli. Assigning right access to the resources using group policies and thoughts on sudo command"
url: "https://hashnode.com/posts/permissions-in-linux/62d4e7982f40e31decd8ec13"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Permissions in Linux](https://maninekkalapudi.hashnode.dev/permissions-in-linux?utm_source=hashnode&utm_medium=feed)

Permission in linux can be created and managed using the cli. Assigning right access to the resources using group policies and thoughts on sudo command

Jul 18, 2022 · 6 min read · maninekkalapudi.hashnode.dev  
Updated Jul 23, 2022  
Read the article

-   [#linux](https://hashnode.com/tag/linux)
-   [#linux-for-beginners](https://hashnode.com/tag/linux-for-beginners)
-   [#security](https://hashnode.com/tag/security)
-   [#command-line](https://hashnode.com/tag/command-line)
-   [#chmod](https://hashnode.com/tag/chmod)

## Written by

[mani nekkalapudi](https://hashnode.com/@maninekkalapudi)

@maninekkalapudi · Hyderabad, India

  
[View profile](https://hashnode.com/@maninekkalapudi)

Data Engineer📊 Cloud Enthusiast💭 Book Worm📚 Programmer👨‍💻 Pythonista🐍 Occasional Scribbler✍️

I’m a data engineer, cloud enthusiast, avid reader and blogger

## Responses 1

Markdown supported · ⌘↵ to post

[Manh Nguyen Danh](https://hashnode.com/@rainiverse)

[Jul 22, 2022](https://hashnode.com/posts/permissions-in-linux/62d4e7982f40e31decd8ec13/comment/62da27d059f0dc59d51f1cf8)

Thanks for great article! I have a question:

> Read(r)- To **read the contents** of a file or a directory
> 
> Execute(x)- Run or execute a file or **view the contents** of a directory

What's the difference betwwen two kinds of read the contents?

[mani nekkalapudi](https://hashnode.com/@maninekkalapudi)

[Jul 23, 2022](https://hashnode.com/posts/permissions-in-linux/62d4e7982f40e31decd8ec13/comment/62da27d059f0dc59d51f1cf8#reply-62db939dcf7a8a6d54f0649b)

Thanks for reading [Danh Mạnh Nguyễn](https://hashnode.com/posts/permissions-in-linux/@rainiverse)!

For a directory, both the read(r) and execute(x) permissions are required to read its contents. This is true for the write permissions as well.

In short, to perform any actions on a directory like listing the contents(read), writing/renaming/deleting a file in it, we need execute (x) permissions for that user or group.

I'll update the post to highlight this particular point. Thanks again for commenting!
