{"id":1724,"date":"2023-03-12T11:38:43","date_gmt":"2023-03-12T06:08:43","guid":{"rendered":"https:\/\/myfreeonlinetools.com\/blog\/?p=1724"},"modified":"2023-03-12T11:46:58","modified_gmt":"2023-03-12T06:16:58","slug":"use-chown-r-for-user-premission-in-linux","status":"publish","type":"post","link":"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/","title":{"rendered":"Use chown -R for user premission in linux"},"content":{"rendered":"<p>[av_codeblock wrapper_element=&#8221; wrapper_element_attributes=&#8221; codeblock_type=&#8221; av_uid=&#8217;av-lf4zais4&#8242; custom_class=&#8221;]<\/p>\n<div class=\"entry-content\">\n<h2 style=\"text-transform: inherit !important; \">Grant user premission using chown command in linux <\/h2>\n<p>Linux command for grant all permission to specified folder. Permission like 755, that folder can can read\/write\/execute.<\/p>\n<pre>\r\n<h3 style=\"color: #FFF; margin-bottom: -20px !important; \">chown -R www-data: public\/ <\/h3>\r\nor \r\n<h3 style=\"color: #FFF;\">sudo chown -R www-data: public\/  <\/h3>\r\nchown change the ownership of a file or folder or multiple folder or directory with sub directory for a specified group. \r\n\r\nfirst I explain you sudo, sudo stands for superuser, user act like root user that have all permission. In other words, sudo gives you privilege same like root user. \r\n\r\n-R use for all subfolder in a directory \r\n\r\nwww-data: User that web servers on linux web server, use by default for normal operation. www-data user can access any file in web server. \r\n<\/pre>\n<\/div>\n<p>[\/av_codeblock]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[av_codeblock wrapper_element=&#8221; wrapper_element_attributes=&#8221; codeblock_type=&#8221; av_uid=&#8217;av-lf4zais4&#8242; custom_class=&#8221;] Grant user premission using chown command in linux Linux command for grant all permission to specified folder. Permission like 755, that folder can can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[48,50],"tags":[],"class_list":["post-1724","post","type-post","status-publish","format-standard","hentry","category-linux","category-ngnix"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Use chown -R for user premission in linux - MyFreeOnlineTools<\/title>\n<meta name=\"description\" content=\"Linux command for grant all permission to specified folder. Permission like 755, that folder can can read\/write\/execute\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Use chown -R for user premission in linux - MyFreeOnlineTools\" \/>\n<meta property=\"og:description\" content=\"Linux command for grant all permission to specified folder. Permission like 755, that folder can can read\/write\/execute\" \/>\n<meta property=\"og:url\" content=\"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"MyFreeOnlineTools\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/LearnSchoolOnline\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-12T06:08:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-12T06:16:58+00:00\" \/>\n<meta name=\"author\" content=\"myfreeonlinetools\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"myfreeonlinetools\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/\"},\"author\":{\"name\":\"myfreeonlinetools\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c\"},\"headline\":\"Use chown -R for user premission in linux\",\"datePublished\":\"2023-03-12T06:08:43+00:00\",\"dateModified\":\"2023-03-12T06:16:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/\"},\"wordCount\":51,\"publisher\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#organization\"},\"articleSection\":[\"Linux\",\"Ngnix\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/\",\"name\":\"Use chown -R for user premission in linux - MyFreeOnlineTools\",\"isPartOf\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#website\"},\"datePublished\":\"2023-03-12T06:08:43+00:00\",\"dateModified\":\"2023-03-12T06:16:58+00:00\",\"description\":\"Linux command for grant all permission to specified folder. Permission like 755, that folder can can read\/write\/execute\",\"breadcrumb\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/myfreeonlinetools.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use chown -R for user premission in linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#website\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/\",\"name\":\"MyFreeOnlineTools\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/myfreeonlinetools.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#organization\",\"name\":\"MyFreeOnlineTools\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png\",\"contentUrl\":\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png\",\"width\":387,\"height\":79,\"caption\":\"MyFreeOnlineTools\"},\"image\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c\",\"name\":\"myfreeonlinetools\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g\",\"caption\":\"myfreeonlinetools\"},\"description\":\"Live in Delhi, Working in Gurgaon as Web Designer and Graphic Designer. Developed and Design myfreeonlinetools for online free tools. Also having youtube channel Name with LearnSchoolOnline. Traveling, watching movies, coding are the hobbies.\",\"sameAs\":[\"https:\/\/myfreeonlinetools.com\/\",\"https:\/\/www.facebook.com\/LearnSchoolOnline\/\",\"https:\/\/www.youtube.com\/learnschoolonline\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Use chown -R for user premission in linux - MyFreeOnlineTools","description":"Linux command for grant all permission to specified folder. Permission like 755, that folder can can read\/write\/execute","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:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"Use chown -R for user premission in linux - MyFreeOnlineTools","og_description":"Linux command for grant all permission to specified folder. Permission like 755, that folder can can read\/write\/execute","og_url":"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/","og_site_name":"MyFreeOnlineTools","article_author":"https:\/\/www.facebook.com\/LearnSchoolOnline\/","article_published_time":"2023-03-12T06:08:43+00:00","article_modified_time":"2023-03-12T06:16:58+00:00","author":"myfreeonlinetools","twitter_card":"summary_large_image","twitter_misc":{"Written by":"myfreeonlinetools","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/#article","isPartOf":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/"},"author":{"name":"myfreeonlinetools","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c"},"headline":"Use chown -R for user premission in linux","datePublished":"2023-03-12T06:08:43+00:00","dateModified":"2023-03-12T06:16:58+00:00","mainEntityOfPage":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/"},"wordCount":51,"publisher":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#organization"},"articleSection":["Linux","Ngnix"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/","url":"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/","name":"Use chown -R for user premission in linux - MyFreeOnlineTools","isPartOf":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#website"},"datePublished":"2023-03-12T06:08:43+00:00","dateModified":"2023-03-12T06:16:58+00:00","description":"Linux command for grant all permission to specified folder. Permission like 755, that folder can can read\/write\/execute","breadcrumb":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/myfreeonlinetools.com\/blog\/use-chown-r-for-user-premission-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/myfreeonlinetools.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Use chown -R for user premission in linux"}]},{"@type":"WebSite","@id":"https:\/\/myfreeonlinetools.com\/blog\/#website","url":"https:\/\/myfreeonlinetools.com\/blog\/","name":"MyFreeOnlineTools","description":"","publisher":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/myfreeonlinetools.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/myfreeonlinetools.com\/blog\/#organization","name":"MyFreeOnlineTools","url":"https:\/\/myfreeonlinetools.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png","contentUrl":"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png","width":387,"height":79,"caption":"MyFreeOnlineTools"},"image":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c","name":"myfreeonlinetools","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g","caption":"myfreeonlinetools"},"description":"Live in Delhi, Working in Gurgaon as Web Designer and Graphic Designer. Developed and Design myfreeonlinetools for online free tools. Also having youtube channel Name with LearnSchoolOnline. Traveling, watching movies, coding are the hobbies.","sameAs":["https:\/\/myfreeonlinetools.com\/","https:\/\/www.facebook.com\/LearnSchoolOnline\/","https:\/\/www.youtube.com\/learnschoolonline"]}]}},"_links":{"self":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/1724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/comments?post=1724"}],"version-history":[{"count":1,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/1724\/revisions"}],"predecessor-version":[{"id":1780,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/1724\/revisions\/1780"}],"wp:attachment":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/media?parent=1724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/categories?post=1724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/tags?post=1724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}