Opened 15 years ago

Last modified 9 years ago

#109 new enhancement

IZ639: job umasks should be configurable

Reported by: berj Owned by:
Priority: normal Milestone:
Component: sge Version: current
Severity: Keywords: execution
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=639]

        Issue #:      639              Platform:     All           Reporter: berj (berj)
       Component:     gridengine          OS:        All
     Subcomponent:    execution        Version:      current          CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    pollinger (pollinger)
      QA Contact:     pollinger
          URL:
       * Summary:     job umasks should be configurable
   Status whiteboard:
      Attachments:

     Issue 639 blocks:
   Votes for issue 639:


   Opened: Wed Jan 14 09:39:00 -0700 2004 
------------------------


Currently jobs have a hard-coded umask of 022.
Which means (in our case) that all of the
stderr/stdout files among others will have
permissions that are too restrictive and the job
script won't be able to change this (easily).


Andy Schwierskott suggested adding JOB_UMASK to
the supported execd_params.  This seems like a
reasonable way to get around this issue.

   ------- Additional comments from pollinger Fri Dec 9 10:04:54 -0700 2005 -------
Changed subcomponent

   ------- Additional comments from andreas Thu Mar 1 03:05:32 -0700 2007 -------
Workaround:
Change

   daemons/shepherd/builtin_starter.c:   umask(022);
   daemons/shepherd/shepherd.c:      umask(022);

accordingly and recompile.

   ------- Additional comments from templedf Mon Jan 12 16:19:54 -0700 2009 -------
Changed summary to be more descriptive.

Change History (0)

Note: See TracTickets for help on using tickets.