[haiku-bugs] Re: [Haiku] #12373: Can't "su" to non-superuser : Permission denied

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Fri, 18 Sep 2015 05:15:54 -0000

#12373: Can't "su" to non-superuser : Permission denied
-------------------------+----------------------------
Reporter: ttcoder | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: R1/beta1
Component: - General | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-------------------------+----------------------------

Comment (by pulkomandy):

While the generated Haiku image should not change depending on the umask,
we don't want to force the files in the generated dir to have unrestricted
permissions. If the user doing the build set the umask to a restrictive
value, there is probably a reason to do so. This means, we should leave
the files as they are in the generated directory, but then "fix" the
permissions on the fly as we add them to the packages/image. This way, the
umask setting on the host is honored, and still we get a working Haiku
image in the end.

In the case of the build bots, IIRC buildbot itself sets a restrictive
mask by default, we had noticed this and set a less restrictive one in our
configuration files, but maybe not all bots have been configured the same
way.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12373#comment:13>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: