{"author_url":"https://blog.hatena.ne.jp/hateka/","url":"https://hateka.hateblo.jp/entry/20100525/1274755266","title":"Perl doesn't make dir that correct permission","image_url":null,"blog_url":"https://hateka.hateblo.jp/","type":"rich","published":"2010-05-25 11:41:06","provider_name":"Hatena Blog","categories":["perl"],"description":"Perl doesn't reflect that I want to make dir and set permission. If I write like this mkdir('dir', 0777); but this way will be setting 755. How to solve this problem\u2193http://perl.g.hatena.ne.jp/Cress/20080611/1213184541 umask(0); mkdir('dir', 0777); If you want to upload something file, changing perm\u2026","author_name":"hateka","version":"1.0","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhateka.hateblo.jp%2Fentry%2F20100525%2F1274755266\" title=\"Perl doesn&#39;t make dir that correct permission - hateka\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"hateka\u2019s blog","width":"100%","height":"190"}