<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":291,"date":"2021-07-12T18:50:31","date_gmt":"2021-07-12T18:50:31","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=291"},"modified":"2021-09-14T07:03:13","modified_gmt":"2021-09-14T07:03:13","slug":"what-are-the-different-types-of-file-permissions-in-hdfs","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/","title":{"rendered":"What are the different types of file permissions in HDFS ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"what-are-the-different-types-of-file-permissions-in-hdfs\" class=\"color-pink\" style=\"text-align: justify;\">What are the different types of file permissions in HDFS ?<\/h2>\n<\/div>\n<\/div>\n<div class=\"ImageContent\" style=\"text-align: justify;\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-are-the-different-types-of-file-permissions-in-hdfs.gif\" alt=\"What are the different types of file permissions in HDFS\" \/><\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Hadoop distributed file system (<a href=\"https:\/\/www.wikitechy.com\/tutorials\/sqoop\/mysql-to-hdfs\" target=\"_blank\" rel=\"noopener\">HDFS<\/a>) uses a specific permissions model for files and directories. Following user levels are used in\u00a0<a href=\"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-are-the-components-of-hdfs-and-yarn\" target=\"_blank\" rel=\"noopener\">HDFS<\/a>\n<ul>\n<li>Owner<\/li>\n<li>Group<\/li>\n<li>Others<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"ImageContent\" style=\"text-align: justify;\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block aligncenter\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-are-the-different-types-of-file-permission-in-hdfs.gif\" alt=\" different types of file permission in hdfs \" \/><\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>For each of the user mentioned above following permissions are applicable,\n<ul>\n<li>read (r)<\/li>\n<li>write (w)<\/li>\n<li>execute(x)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"ImageContent\" style=\"text-align: justify;\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block aligncenter\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/hdfs-give-permission-to-users.jpg\" alt=\" HDFS give permission to users \" \/><\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<p>Above mentioned permissions work differently for files and directories.<\/p>\n<ul>\n<li>For files\n<ul>\n<li>read (r) permission &#8211; Reading a file.<\/li>\n<li>write (w) permission &#8211; Writing a file.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"Content\">\n<div class=\"hddn\">\n<ul>\n<li>For directories.\n<ul>\n<li style=\"text-align: justify;\">The r permission lists the contents of a specific directory.<\/li>\n<li style=\"text-align: justify;\">The w permission creates or deletes a directory.<\/li>\n<li style=\"text-align: justify;\">The X permission accessing a child directory.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answer : Hadoop distributed file system (HDFS) uses a specific permissions&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[1065],"tags":[195,1119,360,1554,203,199,214,1524,1532,1518,1120,1525,205,935,1543,1544,1545,1546,1350,1541,485,222,484,1538,1552,1517,1519,1481,1537,1355,1535,1547,1483,1528,1520,1534,1163,1553,1533,1540,1348,1548,1550,1531,1539,1527,1522,1165,1521,1551,1516,1549,1530,1529,1523,196,212,286,970,366,1526,288,367,206,975,200,974,197,280,364,1542,968,216,285,1121],"class_list":["post-291","post","type-post","status-publish","format-standard","hentry","category-big-data","tag-accenture-interview-questions-and-answers","tag-att-interview-questions-and-answers","tag-atos-interview-questions-and-answers","tag-big-data-interview-questions","tag-capgemini-interview-questions-and-answers","tag-casting-networks-india-pvt-limited-interview-questions-and-answers","tag-cgi-group-inc-interview-questions-and-answers","tag-change-folder-permissions-hdfs","tag-change-mode-in-hdfs","tag-changing-hdfs-file-permissions","tag-collabera-technologiesinterview-questions-and-answers","tag-command-to-change-permission-in-hdfs","tag-dell-international-services-india-pvt-ltd-interview-questions-and-answers","tag-difference-between-hadoop-and-hdfs-commands","tag-difference-between-hadoop-fs-and-hdfs-dfs","tag-difference-between-namenode-and-datanode-in-hadoop","tag-difference-between-put-and-copyfromlocal-in-hadoop","tag-directory-tree-structure-of-files-in-filesystem-in-hadoop","tag-distributed-file-system","tag-distributed-file-system-architecture","tag-ernst-young-interview-questions-and-answers","tag-flipkart-interview-questions-and-answers","tag-genpact-interview-questions-and-answers","tag-hadoop-architecture-diagram","tag-hadoop-basics","tag-hadoop-chmod-777","tag-hadoop-chmod-777-recursive","tag-hadoop-cluster","tag-hadoop-cluster-setup","tag-hadoop-commands","tag-hadoop-dfs","tag-hadoop-difference-between-put-and-copyfromlocal","tag-hadoop-distributed-file-system","tag-hadoop-fs","tag-hadoop-fs-chmod-r-777","tag-hadoop-fs-commands","tag-hadoop-hdfs","tag-hadoop-installation","tag-hadoop-interview-questions","tag-hadoop-interview-questions-and-answers","tag-hadoop-mapreduce","tag-hadoop-remove-directory","tag-hadoop-remove-directory-command-hadoop-file-system","tag-hadoop-replication-factor-performancedistributed-file-system-supported-by-hadoopchange-folder-permissions-hdfsnon-super-user-cannot-change-ownerhow-to-change-the-ownership-in-hdfs","tag-hadoop-setup","tag-hdfs-acl","tag-hdfs-add-user-to-group","tag-hdfs-architecture","tag-hdfs-chmod-command","tag-hdfs-file-system","tag-hdfs-give-permissions-to-user","tag-how-to-change-directory-in-hadoop","tag-how-to-change-directory-in-hadoop-hadoop-replication","tag-how-to-change-the-ownership-in-hdfs","tag-how-to-navigate-to-hadoop-directory","tag-ibm-interview-questions-and-answers","tag-indecomm-global-services-interview-questions-and-answers","tag-lt-infotech-interview-questions-and-answers","tag-mindtree-interview-questions-and-answers","tag-netapp-interview-questions-and-answers","tag-non-super-user-cannot-change-owner","tag-r-systems-interview-questions-and-answers","tag-rbs-india-development-centre-pvt-ltd-interview-questions-and-answers","tag-sap-labs-india-pvt-ltd-interview-questions-and-answers","tag-tata-consultancy-service-interview-questions-and-answers","tag-tech-mahindra-interview-questions-and-answers","tag-trigent-software-interview-questions-and-answers","tag-unitedhealth-group-interview-questions-and-answers","tag-virtusa-consulting-services-pvt-ltd-interview-questions-and-answers","tag-wells-fargo-interview-questions-and-answers","tag-what-are-the-different-file-permissions-in-hdfs-for-files-or-directory-levels","tag-wipro-infotech-interview-questions-and-answers","tag-wipro-interview-questions-and-answers","tag-xoriant-solutions-pvt-ltd-interview-questions-and-answers","tag-zs-associates-interview-questions-and-answers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What are the different types of file permissions in HDFS ? - Big Data<\/title>\n<meta name=\"description\" content=\"What are the different types of file permissions in HDFS ? - Hadoop distributed file system (HDFS) uses a specific permissions model for files and directories. Owner | Group | Others\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What are the different types of file permissions in HDFS ? - Big Data\" \/>\n<meta property=\"og:description\" content=\"What are the different types of file permissions in HDFS ? - Hadoop distributed file system (HDFS) uses a specific permissions model for files and directories. Owner | Group | Others\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-12T18:50:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-14T07:03:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-are-the-different-types-of-file-permissions-in-hdfs.gif\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/\",\"name\":\"What are the different types of file permissions in HDFS ? - Big Data\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-are-the-different-types-of-file-permissions-in-hdfs.gif\",\"datePublished\":\"2021-07-12T18:50:31+00:00\",\"dateModified\":\"2021-09-14T07:03:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What are the different types of file permissions in HDFS ? - Hadoop distributed file system (HDFS) uses a specific permissions model for files and directories. Owner | Group | Others\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/#primaryimage\",\"url\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-are-the-different-types-of-file-permissions-in-hdfs.gif\",\"contentUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-are-the-different-types-of-file-permissions-in-hdfs.gif\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What are the different types of file permissions in HDFS ? - Big Data","description":"What are the different types of file permissions in HDFS ? - Hadoop distributed file system (HDFS) uses a specific permissions model for files and directories. Owner | Group | Others","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:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/","og_locale":"en_US","og_type":"article","og_title":"What are the different types of file permissions in HDFS ? - Big Data","og_description":"What are the different types of file permissions in HDFS ? - Hadoop distributed file system (HDFS) uses a specific permissions model for files and directories. Owner | Group | Others","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/","og_site_name":"Wikitechy","article_published_time":"2021-07-12T18:50:31+00:00","article_modified_time":"2021-09-14T07:03:13+00:00","og_image":[{"url":"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-are-the-different-types-of-file-permissions-in-hdfs.gif"}],"author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/","name":"What are the different types of file permissions in HDFS ? - Big Data","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-are-the-different-types-of-file-permissions-in-hdfs.gif","datePublished":"2021-07-12T18:50:31+00:00","dateModified":"2021-09-14T07:03:13+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What are the different types of file permissions in HDFS ? - Hadoop distributed file system (HDFS) uses a specific permissions model for files and directories. Owner | Group | Others","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/big-data\/what-are-the-different-types-of-file-permissions-in-hdfs\/#primaryimage","url":"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-are-the-different-types-of-file-permissions-in-hdfs.gif","contentUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-are-the-different-types-of-file-permissions-in-hdfs.gif"},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=291"}],"version-history":[{"count":3,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/291\/revisions"}],"predecessor-version":[{"id":3673,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/291\/revisions\/3673"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}