{"id":30,"date":"2011-04-17T09:59:00","date_gmt":"2011-04-17T09:59:00","guid":{"rendered":"http:\/\/mattdturner.com\/wordpress\/?p=30"},"modified":"2011-04-26T14:33:03","modified_gmt":"2011-04-26T20:33:03","slug":"group-access-to-all-files","status":"publish","type":"post","link":"http:\/\/mattdturner.com\/wordpress\/2011\/04\/group-access-to-all-files\/","title":{"rendered":"Group Access to All Files"},"content":{"rendered":"<p><span style=\"line-height: 24px;\"><span style=\"font-family: inherit;\">On every cluster, there is most likely a group of users who want to allow the entire group to have read, write, and execute privileges to every file they create. However, changing the permissions on each file individually is a major nuisance.<\/span><\/span><\/p>\n<p>You can, however, change the default set of permissions for every file and folder that a user creates. This is done using the \u201cumask\u201d command.<\/p>\n<p>For our air-quality modeling group here at CU Boulder, each user\u2019s primary group is set to \u201chenze\u201d. Then, within each user\u2019s .cshrc or .bashrc file, the umask command is used to modify the default permissions.<\/p>\n<p>In our case, we use<br \/>\n<em>umask 0007<\/em><br \/>\nThis makes it so that every file or folder that the user creates has permissions 770 (drwxrwx&#8212;).<\/p>\n<p>This is a simple change that helps keep groups of users happy.<\/p>\n<div class=\"zemanta-pixie\" style=\"margin-top: 10px; height: 15px;\"><a class=\"zemanta-pixie-a\" title=\"Enhanced by Zemanta\" href=\"http:\/\/www.zemanta.com\/\"><img decoding=\"async\" class=\"zemanta-pixie-img\" style=\"border: none; float: right;\" src=\"http:\/\/img.zemanta.com\/zemified_e.png?x-id=fb6eae5d-cc29-480e-abc7-83edc99e0a82\" alt=\"Enhanced by Zemanta\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>On every cluster, there is most likely a group of users who want to allow the entire group to have read, write, and execute privileges to every file they create. However, changing the permissions on each file individually is a major nuisance. You can, however, change the default set of permissions for every file and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,88],"tags":[89,85,92,24,91,93,75,90],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-command-line","category-system-admin","tag-computer-file","tag-file-management","tag-file-manager","tag-filesystem-permissions","tag-folder-computing","tag-microsoft","tag-operating-system","tag-user-computing","no-thumb"],"_links":{"self":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts\/30"}],"collection":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":2,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":78,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/posts\/30\/revisions\/78"}],"wp:attachment":[{"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mattdturner.com\/wordpress\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}