<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I don't think that is possible. At least not easily....</p>
    <p>I just symlink /tmp to /scratch on systems I use.</p>
    <p>That way folks can get used to /scratch, but if anything has
      hard-coded /tmp, it will still work.</p>
    <p>Brian Andrus<br>
    </p>
    <div class="moz-cite-prefix">On 7/11/2019 8:19 AM, Douglas Duckworth
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAKHBKn8rEgWWj8nkGmLqgksLh+-hCVT+kht57CKvtn+=N0-vg@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello
        <div><br>
        </div>
        <div>I am wondering if it's possible to hide a file system,
          that's world writable on compute node, logically within
          Slurm.  That way any job a user runs cannot possible access
          this file system.</div>
        <div><br>
        </div>
        <div>Essentially we define $TMPDIR as /scratch, which Slurm
          cleans up in epilogue scripts, but some users still keep
          writing to /tmp instead which we do not want.  We would use
          tmpwatch to clean up /tmp but I would rather just prevent
          people from writing to it within Slurm.</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div>Doug</div>
        <div><br clear="all">
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <div dir="ltr">
                                        <div dir="ltr">
                                          <div dir="ltr">
                                            <div dir="ltr">
                                              <div>
                                                <div dir="ltr">
                                                  <div dir="ltr">
                                                    <div dir="ltr">
                                                      <div dir="ltr">
                                                        <div dir="ltr"
                                                          style="font-size:small">Thanks,</div>
                                                        <div dir="ltr"
                                                          style="font-size:small"><br>
                                                          Douglas
                                                          Duckworth,
                                                          MSc, LFCS<br>
                                                          HPC System
                                                          Administrator<br>
                                                          <span
                                                          style="font-size:12.8px"><a
href="https://scu.med.cornell.edu" target="_blank"
                                                          moz-do-not-send="true">Scientific
                                                          Computing Unit</a></span></div>
                                                        <div dir="ltr"
                                                          style="font-size:small">Weill
                                                          Cornell
                                                          Medicine</div>
                                                        <div
                                                          style="font-size:small">1300
                                                          York Avenue</div>
                                                        <div
                                                          style="font-size:small">New
                                                          York, NY 10065</div>
                                                        <div dir="ltr"
                                                          style="font-size:small">
                                                          <div>E: <a
                                                          href="mailto:doug@med.cornell.edu"
target="_blank" moz-do-not-send="true">doug@med.cornell.edu</a><br>
                                                          O:
                                                          212-746-6305<br>
                                                          F:
                                                          212-746-8690<br>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>