[haiku-bugs] [Haiku] #7056: umask is not inherited to exec'ed image

  • From: "zooey" <trac@xxxxxxxxxxxx>
  • Date: Sun, 02 Jan 2011 14:29:07 -0000

#7056: umask is not inherited to exec'ed image
--------------------------------+------------------------------
  Reporter:  zooey              |        Owner:  axeld
      Type:  bug                |       Status:  new
  Priority:  normal             |    Milestone:  R1
 Component:  System/libroot.so  |      Version:  R1/Development
Resolution:                     |     Keywords:  exec umask
Blocked By:                     |  Has a Patch:  0
  Platform:  All                |     Blocking:
--------------------------------+------------------------------

Attachment added (by zooey):

exec_umask.c (113 bytes) - a tiny test exposing the problem - just set the 
umask to some specific value and, invoking the test, you'll see that it will 
have been reverted to '022'.

View the file at http://dev.haiku-os.org/attachment/ticket/7056/exec_umask.c

-- 
Ticket URL: http://dev.haiku-os.org/ticket/7056
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: