[torquedev] [Bug 115] TORQUE 2.5.4 does not honor -W umask

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Wed Mar 9 01:17:03 MST 2011


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=115

Chris Samuel <chris at csamuel.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris at csamuel.org

--- Comment #1 from Chris Samuel <chris at csamuel.org> 2011-03-09 01:17:03 MST ---
Hmm, it looks like this code has got lost between 2.4 and 2.5 in:

src/resmom/start_exec.c 

according to this diff:

       @@ -6052,11 +6283,6 @@
       }
     }

-       if (pjob->ji_wattr[(int)JOB_ATR_umask].at_flags & ATR_VFLAG_SET)
-               {
-               old_umask =
umask(pjob->ji_wattr[(int)JOB_ATR_umask].at_val.at_long);
-               }
-       
        /* open file */

        fds = open(path, mode, 0666);


Looks like it went away in trunk in commit 3477 on March 1st 2010.

This was the only mention of JOB_ATR_umask in the pbs_mom code prior to 2.5,
now there is none.

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list