{"id":1655,"date":"2022-04-15T12:30:00","date_gmt":"2022-04-15T17:30:00","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=1655"},"modified":"2022-04-21T01:42:21","modified_gmt":"2022-04-21T06:42:21","slug":"understanding-the-linux-file-permissions","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/","title":{"rendered":"Understanding The Linux File Permissions"},"content":{"rendered":"\n<div id=\"linux-649409264\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>In this tutorial we are going to explain the Linux file permissions in different Linux distributions such as Ubuntu, CentOS, Debian, and AlmaLinux. The <a href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-deny-file-permissions-to-everyone-except-yourself-in-linux\/\">Linux file permissions<\/a> are very important to understand and use properly, due to security reasons and user access rights. The user access rights are controlled by the permissions, attributes, and ownership. This defines who will be the authorized users and which directories and files will be accessed by them.<\/p>\n\n\n\n<p>In this blog post we will explain the permissions on <a href=\"https:\/\/linuxhostsupport.com\/blog\/category\/ubuntu\/\">Ubuntu<\/a> 20.04 OS. You can choose by yourself which OS to use. Let&#8217;s get started!<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Fresh install of Ubuntu 20.04<\/li><li>User privileges: root or non-root user with sudo privileges<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Update the System<\/h2>\n\n\n\n<p>If you have a fresh installation of Ubuntu 20.04 it is recommended to update the system to the latest packages available.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y &amp;&amp; sudo apt upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Understanding Permission Types<\/h2>\n\n\n\n<p>The three permission types of the files and folders are <strong>read<\/strong>, <strong>write<\/strong>, and <strong>execute<\/strong>. These permission types controls which user can read the file, write the file or execute the file.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Read<\/strong>: The read permission defines if the user can or cannot read the content of the file.<\/li><li><strong>Write<\/strong>: The write permission defines if the user can or cannot modify the content of the file or folder.<\/li><li><strong>Execute<\/strong>: The execute permission defines if the user can or cannot execute the file. The files with execute permissions are known as script files.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Understanding Permission Groups<\/h2>\n\n\n\n<p>The three permissions groups that have every Linux file or folder are <strong>owner<\/strong>, <strong>group<\/strong> and <strong>users<\/strong>. These three groups are asocciated to a file or folder.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Owner<\/strong>: The owner permissions are applied only to the owner of the file and folder, and are not related to the actions of the other users. The list of Linux users are stored in <strong>\/etc\/passwd file<\/strong>.<\/li><li><strong>Group<\/strong>: The group permissions are applied only to the assigned group of the file and folder, and are not related to the actions of the users. The list of Linux groups are stored in <strong>\/etc\/group file<\/strong>.<\/li><li>Other: The other user&#8217;s permissions are applied to the other users of the file and folder.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Managing the Permissions<\/h2>\n\n\n\n<p>In this section we are going to explain with real examples the permission types and permission groups of a file or folder and the procedure of changing them. For example list the <strong>root<\/strong> directory on your server with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ls -al<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@vps:~# ls -al\ntotal 56\ndrwx------  6 root root  4096 Mar  6 15:53 .\ndrwxr-xr-x 19 root root  4096 Feb  5 13:27 ..\n-rw-------  1 root root    42 Mar  6 15:53 .bash_history\n-rw-r--r--  1 root root  3106 Dec  5  2019 .bashrc\ndrwx------  3 root root  4096 May  4  2020 .cache\ndrwx------  4 root root  4096 May  4  2020 .config\ndrwx------  3 root root  4096 May  4  2020 .local\n-rw-------  1 root root     0 May  6  2020 .mysql_history\n-rw-r--r--  1 root root   161 Dec  5  2019 .profile\n-rw-r--r--  1 root root    72 May  3  2020 .selected_editor\ndrwx------  2 root root  4096 Mar  6 15:27 .ssh\n<\/pre>\n\n\n\n<p>As you can see there is information about if it is a file or directory, about the types and permission groups. To fully understand this pay attention to the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">-rw-r--r-- 1 root root 3106 Mar  6  2022 filename\n|[-][-][-]-  [---][---][---]\n| |  |  | |    |    |    |-----------> 8. Size\n| |  |  | |    |    +----------------> 7. Group\n| |  |  | |    +---------------------> 6. Owner\n| |  |  | +--------------------------> 5. Alternate Access Method\n| |  |  +----------------------------> 4. Others Permissions\n| |  +-------------------------------> 3. Group Permissions\n| +----------------------------------> 2. Owner Permissions\n+------------------------------------> 1. File Type\n<\/pre>\n\n\n\n<p>Each write, read, and execute permissions have the following number value:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">r (read) = 4\nw (write) = 2\nx (execute) = 1\nno permissions = 0\n<\/pre>\n\n\n\n<p>For example if the permission types of the file are <strong>-rw-r&#8211;r&#8211;<\/strong>, to get the number of this we are going to sum the values of the permissions for that group.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>Owner<\/strong>: rw- = 4 + 2 + 0 = 6\n<strong>Group<\/strong>: r-- = 4 + 0 + 0 = 4\n<strong>Others<\/strong>: rw- = 4 + 0 + 0 = 4\n<\/pre>\n\n\n\n<p>To change the permission of this file, and set the permissions to 755 for example, execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chmod 755 filename<\/pre>\n\n\n\n<p>After listing the file again you should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# ls -al filename\n-rwxr-xr-x 1 root root 3106 Mar  6  2022 filename<\/pre>\n\n\n\n<p>To check if the correct number is 755 we are going to check this as explained in the example above:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>Owner<\/strong>: rwx = 4 + 2 + 1 = 7\n<strong>Group<\/strong>: r-x = 4 + 0 + 1 = 5\n<strong>Others<\/strong>: r-x = 4 + 0 + 1 = 5\n<\/pre>\n\n\n\n<p>At the momment the owner of the file is the <strong>root<\/strong> user, and the group is <strong>root<\/strong> as well. To change the owner and group execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chown www-data:www-data filename<\/pre>\n\n\n\n<p>List the file again and pay attention on the output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@vps:~# ls -al filename\n-rwxr-xr-x 1 www-data www-data 3106 Mar  6  2022 filename\n<\/pre>\n\n\n\n<p>You can see that the owner and the group are set to <strong>www-data<\/strong>. Of course, you can set different owner and group to the file as long as that user and group exist in your system.<\/p>\n\n\n\n<p>That&#8217;s it. This blog post has explained the basics of Linux File Permission. Of course, if you find it difficult to manage the permissions of the files or folders on your <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\">Linux VPS server,<\/a> you can always contact our epic technical support. They are available 24\/7 and they will help you with your request.<\/p>\n\n\n\n<p>If you liked this post about &#8220;Understanding the Linux File Permissions&#8221;, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p><div id=\"linux-2337818565\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial we are going to explain the Linux file permissions in different Linux distributions such as Ubuntu, CentOS, Debian, and AlmaLinux. The Linux file permissions are very important to understand and use properly, due to security reasons and user access rights. The user access rights are controlled by the permissions, attributes, and ownership. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1660,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[218,185,45],"class_list":["post-1655","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","tag-file-permissions","tag-guide","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Understanding The Linux File Permissions | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"In this tutorial we are going to explain the Linux file permissions in different Linux distributions such as Ubuntu, CentOS, Debian, and AlmaLinux. The\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding The Linux File Permissions | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In this tutorial we are going to explain the Linux file permissions in different Linux distributions such as Ubuntu, CentOS, Debian, and AlmaLinux. The\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-15T17:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-21T06:42:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/03\/understanding-linux-file-permissions.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"Understanding The Linux File Permissions\",\"datePublished\":\"2022-04-15T17:30:00+00:00\",\"dateModified\":\"2022-04-21T06:42:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/\"},\"wordCount\":687,\"commentCount\":2,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/understanding-linux-file-permissions.jpg\",\"keywords\":[\"file permissions\",\"guide\",\"linux\"],\"articleSection\":[\"Guides\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/\",\"name\":\"Understanding The Linux File Permissions | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/understanding-linux-file-permissions.jpg\",\"datePublished\":\"2022-04-15T17:30:00+00:00\",\"dateModified\":\"2022-04-21T06:42:21+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In this tutorial we are going to explain the Linux file permissions in different Linux distributions such as Ubuntu, CentOS, Debian, and AlmaLinux. The\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/understanding-linux-file-permissions.jpg\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/understanding-linux-file-permissions.jpg\",\"width\":742,\"height\":372,\"caption\":\"understanding linux file permissions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/understanding-the-linux-file-permissions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding The Linux File Permissions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understanding The Linux File Permissions | LinuxHostSupport","description":"In this tutorial we are going to explain the Linux file permissions in different Linux distributions such as Ubuntu, CentOS, Debian, and AlmaLinux. The","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/","og_locale":"en_US","og_type":"article","og_title":"Understanding The Linux File Permissions | LinuxHostSupport","og_description":"In this tutorial we are going to explain the Linux file permissions in different Linux distributions such as Ubuntu, CentOS, Debian, and AlmaLinux. The","og_url":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2022-04-15T17:30:00+00:00","article_modified_time":"2022-04-21T06:42:21+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/03\/understanding-linux-file-permissions.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"Understanding The Linux File Permissions","datePublished":"2022-04-15T17:30:00+00:00","dateModified":"2022-04-21T06:42:21+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/"},"wordCount":687,"commentCount":2,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/03\/understanding-linux-file-permissions.jpg","keywords":["file permissions","guide","linux"],"articleSection":["Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/","url":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/","name":"Understanding The Linux File Permissions | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/03\/understanding-linux-file-permissions.jpg","datePublished":"2022-04-15T17:30:00+00:00","dateModified":"2022-04-21T06:42:21+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In this tutorial we are going to explain the Linux file permissions in different Linux distributions such as Ubuntu, CentOS, Debian, and AlmaLinux. The","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/03\/understanding-linux-file-permissions.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/03\/understanding-linux-file-permissions.jpg","width":742,"height":372,"caption":"understanding linux file permissions"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/understanding-the-linux-file-permissions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Understanding The Linux File Permissions"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=1655"}],"version-history":[{"count":3,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1655\/revisions"}],"predecessor-version":[{"id":1669,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1655\/revisions\/1669"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/1660"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=1655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=1655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=1655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}