{"id":4183,"date":"2026-10-14T20:13:17","date_gmt":"2026-10-14T20:13:17","guid":{"rendered":"https:\/\/in.nau.edu\/arc\/?page_id=4183"},"modified":"2026-10-16T16:32:29","modified_gmt":"2026-10-16T16:32:29","slug":"sharing-files-on-scratch","status":"publish","type":"page","link":"https:\/\/in.nau.edu\/arc\/sharing-files-on-scratch\/","title":{"rendered":"Sharing Files on \/scratch"},"content":{"rendered":"<div id=\"content\">\n<h1 id=\"sharing-files-on-scratch\">Sharing files on \/scratch<\/h1>\n<h2 id=\"history\">History<\/h2>\n<p>In the past <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/scratch<\/span> directories were readable by others by default. Due to increase security requirements for grant funding, this default has been removed.<\/p>\n<p>We understand some people relied on being able to access other users&#8217; <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/scratch<\/span> areas. So we have some methods to return that functionality in a more secure manner, or some possible alternatives to achieve the same goal.<\/p>\n<h2 id=\"guide\">Guide<\/h2>\n<h3 id=\"preferred-sharing-methods\">Preferred sharing methods<\/h3>\n<h4 id=\"option-1-share-with-enterprise-groups\">Option 1: Share with Enterprise Groups<\/h4>\n<p>You can share (read-only) your scratch directory easily with an enterprise group you belong to, mimicking access to <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/projects<\/span>.<\/p>\n<pre><code># replace BIO-FAKE-Group with your enterprise group\r\nchgrp BIO-FAKE-Group \/scratch\/$USER\r\nchmod 750 \/scratch\/$USER      # 750: rwxr-x---<\/code><\/pre>\n<p>You can either use an existing enterprise group or <a href=\"https:\/\/nau.service-now.com\/sp?id=kb_article&amp;article=KB0014689\">create your own<\/a>.<\/p>\n<p><strong>Note<\/strong>: Enterprise groups can be members of other enterprise groups, so if you need to share your scratch with multiple groups, you can create a group with the other groups as members without adding each person individually.<\/p>\n<\/div>\n<div id=\"content\">\n<h4 id=\"option-2-share-with-commoncontrib-or-projects\">Option 2: Share with \/common\/contrib or \/projects<\/h4>\n<p>If you&#8217;re sharing research data or data sets amongst your lab or other HPC researchers, you may want to consider using space on either <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/common\/contrib<\/span> or <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/projects<\/span> instead.<\/p>\n<ul>\n<li><span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/common<\/span> is a great place to share publicly available datasets or custom software that need to be referenced\/accessed by many researchers. <a href=\"https:\/\/in.nau.edu\/arc\/contact-us\">Please get in contact with the ARC team if you&#8217;d like to make data available here<\/a>.<\/li>\n<li><span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/projects<\/span> is a great place to share research data amongst your colleagues. These are restricted access areas limited to individual groups, so are the ideal place for long-term storage of unpublished research data. If your research group doesn&#8217;t have a space on <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/projects<\/span> yet you (or your faculty sponsor) can <a href=\"https:\/\/in.nau.edu\/arc\/request-storage\/\">request up to 5TB of free space<\/a>.<\/li>\n<\/ul>\n<h3 id=\"less-secure-options\">Less secure options<\/h3>\n<p>Before using the options below, <strong>PLEASE READ THIS<\/strong>. <em>You<\/em> are ultimately the one responsible for your research data. As such, while we have set more secure defaults, you can still choose to restore the previous behavior of your <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/scratch<\/span> directory being readable by everyone. Before you do this, be sure you understand the <a href=\"https:\/\/in.nau.edu\/university-policy-library\/data-classification-and-handling\/\">ramifications by reviewing NAU data classification and handling policies<\/a>. The section on &#8220;University Research&#8221; in the <a href=\"https:\/\/in.nau.edu\/university-policy-library\/wp-content\/uploads\/sites\/395\/Data-Type-Examples-1.pdf\">Data Type Examples document<\/a> is particularly useful &#8212; where &#8220;unpublished research data&#8221; is automatically considered Level-3 data.<\/p>\n<h4 id=\"option-3-share-with-the-cluster-group\">Option 3: Share with the cluster group<\/h4>\n<p>A slightly more secure option than re-opening your <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/scratch<\/span> directory to everyone, is to use the <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">cluster<\/span> group instead. This group contains all Monsoon HPC users, excluding those students who only have access through a classroom.<\/p>\n<p>Use the following command to change your <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/scratch<\/span>&#8216;s permissions:<\/p>\n<pre><code>chgrp cluster \/scratch\/$USER\r\nchmod 750 \/scratch\/$USER      # 750: rwxr-x---<\/code><\/pre>\n<h4 id=\"option-4-make-your-directory-world-readable-again\">Option 4: Make your directory world-readable again<\/h4>\n<p>If you&#8217;ve reviewed the warnings and are confident that <em>sharing your scratch with everyone<\/em> falls within NAU&#8217;s data handling guidelines, you can restore the previous behavior of allowing anyone to read your scratch directory with the following command:<\/p>\n<pre><code>chmod 755 \/scratch\/$USER      # 755: rwxr-xr-x<\/code><\/pre>\n<\/div>\n<h3>Resetting your \/scratch permissions<\/h3>\n<p>If you want to change the permissions on your <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">\/scratch<\/span> back to normal, you can use <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">chmod<\/span> and <span style=\"font-size: 16px;font-family: monospace;border: 1px solid;border-radius: 4px;padding: 0px 4px 0px;border-color: #BBBBBB\" data-darkreader-inline-border-top=\"\" data-darkreader-inline-border-right=\"\" data-darkreader-inline-border-bottom=\"\" data-darkreader-inline-border-left=\"\">chgrp<\/span> to set the permissions to their old values:<\/p>\n<pre><code>chgrp cluster \/scratch\/$USER\r\nchmod 700 \/scratch\/$USER      # 700: rwx------<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sharing files on \/scratch History In the past \/scratch directories were readable by others by default. Due to increase security requirements for grant funding, this default has been removed. We understand some people relied on being able to access other users&#8217; \/scratch areas. So we have some methods to return that functionality in a more [&hellip;]<\/p>\n","protected":false},"author":2758,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ring_central_script_selection":"","footnotes":""},"class_list":["post-4183","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/4183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/users\/2758"}],"replies":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/comments?post=4183"}],"version-history":[{"count":10,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/4183\/revisions"}],"predecessor-version":[{"id":4194,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/4183\/revisions\/4194"}],"wp:attachment":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/media?parent=4183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}