{"id":2237,"date":"2017-12-08T05:29:00","date_gmt":"2017-12-08T05:29:00","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2237"},"modified":"2020-01-09T09:50:07","modified_gmt":"2020-01-09T09:50:07","slug":"how-to-change-the-permission-of-multiple-files-which-has-655-to-755","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/how-to-change-the-permission-of-multiple-files-which-has-655-to-755\/","title":{"rendered":"How to change the permission of multiple files which has 655 to 755"},"content":{"rendered":"<p><strong>pavani created the topic: how to change the permission of multiple files which has 655 to 755<\/strong><br \/>\nHi<\/p>\n<p>How to change the permission of files which has different permission but i need to change only those files which has permission 655 to 755<\/p>\n<p><strong>rajeshkumar replied the topic: Re: how to change the permission of multiple files which has 655 to 755<\/strong><br \/>\nHi Pavani,<\/p>\n<p><code>I know this is late reply.. but may or may not be helpful now...<\/p>\n<p>please find script as below;<\/p>\n<p>for myfile in `find . -perm 655`<br \/>\ndo<br \/>\n        chmod 755 $myfile<br \/>\ndone<\/code><\/p>\n<p>Regards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>pavani created the topic: how to change the permission of multiple files which has 655 to 755 Hi How to change the permission of files which has different permission but&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[454],"tags":[471],"class_list":["post-2237","post","type-post","status-publish","format-standard","hentry","category-shell-script","tag-permission"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2237"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2237\/revisions"}],"predecessor-version":[{"id":2238,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2237\/revisions\/2238"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}