<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bhuwan Bhatt on Medium]]></title>
        <description><![CDATA[Stories by Bhuwan Bhatt on Medium]]></description>
        <link>https://medium.com/@bhuwanbhatt_49661?source=rss-62bb18a5ed7d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*QQSR5LrbhK5I3Jjy.</url>
            <title>Stories by Bhuwan Bhatt on Medium</title>
            <link>https://medium.com/@bhuwanbhatt_49661?source=rss-62bb18a5ed7d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 00:21:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bhuwanbhatt_49661/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[File Permissions in Linux]]></title>
            <link>https://medium.com/@bhuwanbhatt_49661/file-permissions-in-linux-fa468bacf984?source=rss-62bb18a5ed7d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa468bacf984</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[change-file-permission]]></category>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[file-permission]]></category>
            <dc:creator><![CDATA[Bhuwan Bhatt]]></dc:creator>
            <pubDate>Sun, 24 Jun 2018 10:28:04 GMT</pubDate>
            <atom:updated>2018-06-24T10:28:04.519Z</atom:updated>
            <content:encoded><![CDATA[<p>Whenever we hit the command ‘ls -al’ we get an output similar to this (depending upon the directory and files contained in it)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S7q6RF_nStg4OLmeqduq9g.png" /></figure><p>As we can see the command presents us with the list of directories and files contained inside the parent directory. The columns represent file/directory permission, number of links, owner name, group to which owner belongs, file size, last modified and the name of directory/file.</p><p>The first character is -,d or l representing file, directory or symlink respectively. The three sets of character r,w and x (repeated three times) represent readable, writable and executable by owner, group and others respectively.</p><p>For example if the above picture the file permission for playground is set as drwxr-xr-x representing that it is readable, writable and executable by the owner, redable and executable by the group to which the owner belong and readable &amp; executable by other users.</p><p><strong>CHANGING FILE PERMISSIONS</strong></p><p>To change file permission in linux command <strong>chmod (change mode)</strong>is used.The syntax for the chmod command is as follows:</p><p><em>chmod permissions filename</em></p><p>Permissions can be provided by using decimal equivalent of the octal numbers. For example rwx can be represented by 7 which is a decimal equivalent for octal 111 and means that user has all read,write and execute permission. Whereas 5 (101) means only read and execute permission are granted to the user/group/others depending on the position of the number .<br>For example: <em>chmod 777 new.py </em>grants read write and execute permission to all users for the file named new.py</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa468bacf984" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>