{"id":193,"date":"2016-08-31T23:11:51","date_gmt":"2016-08-31T14:11:51","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=193"},"modified":"2017-12-21T23:13:43","modified_gmt":"2017-12-21T14:13:43","slug":"post-193","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2016\/08\/31\/post-193\/","title":{"rendered":"\u518d\u5e30\u7684\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3060\u3051\u3092\u5909\u66f4\u3059\u308b"},"content":{"rendered":"<p>\u518d\u5e30\u7684\u306b\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3059\u308b\u306b\u306f\u3001find \u3068xargs\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u5b9f\u884c\u3059\u308b\u3002<br \/>\n\uff08chmod\u306e\u300c-R\u300d\u3067\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u30d5\u30a1\u30a4\u30eb\u306e\u533a\u5225\u306a\u304f\u518d\u5e30\u7684\u306b\u6a29\u9650\u5909\u66f4\u3057\u3066\u3057\u307e\u3046\uff09<\/p>\n<p>\u4f8b\uff09\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u30ab\u30ec\u30f3\u30c8\u30d5\u30a9\u30eb\u30c0\uff09\u4ee5\u4e0b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092775\u306b\u3059\u308b<\/p>\n<pre>\r\n find .\/ -type d -print | xargs chmod 775\r\n<\/pre>\n<p>find\u30b3\u30de\u30f3\u30c9\u306etype\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea(d)\u306e\u307f\u3092\u63a2\u3057\u3001\u305d\u308c\u3092xargs\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u3001chmod\u306b\u6e21\u3059\u3002<\/p>\n<p>\u4f8b\uff09\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092664\u306b\u3059\u308b<\/p>\n<pre>\r\n find .\/ -type f -print | xargs chmod 664\r\n<\/pre>\n<p>find\u3067\u63a2\u305b\u308b\u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308c\u3070\u3001\u3053\u306e\u65b9\u6cd5\u3067\u3044\u3063\u307a\u3093\u306b\u30a2\u30af\u30bb\u30b9\u6a29\u306e\u5909\u66f4\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u304a\u307e\u3051\u3002<\/p>\n<p>find \u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u300c-exec\u300d\u304c\u3042\u308a\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3082\u540c\u3058\u3053\u3068\u304c\u3067\u304d\u308b\u3002<br \/>\n\u3053\u306e\u300c-exec\u300d\u306fman\u306b\u3088\u308b\u3068\u3001\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306fxargs\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u3060\u3051\u3068\u306e\u3053\u3068\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u518d\u5e30\u7684\u306b\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3059\u308b\u306b\u306f\u3001find \u3068xargs\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u5b9f\u884c\u3059\u308b\u3002 \uff08chmod\u306e\u300c-R\u300d\u3067\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u30d5\u30a1\u30a4\u30eb\u306e\u533a\u5225\u306a\u304f\u518d\u5e30\u7684\u306b\u6a29\u9650\u5909\u66f4\u3057\u3066\u3057\u307e\u3046\uff09 \u4f8b\uff09\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u30ab\u30ec [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,5,7],"tags":[27],"class_list":["post-193","post","type-post","status-publish","format-standard","hentry","category-linux","category-tech","category-tech-memo","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=193"}],"version-history":[{"count":1,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/193\/revisions"}],"predecessor-version":[{"id":194,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/193\/revisions\/194"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}