Opened 5 years ago

Last modified 22 months ago

#13068 new defect

build fails if umask is not 0002

Reported by: christoph@… Owned by: developers
Priority: low Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: umask Cc:


Building the trunk version kept failing somewhere, regardless of my configuration settings.

The build eventually reaches something related to the ext2fs (despite not having chosen any of the ext*fs modules and packages), and the fails.

These are obviously the relevant lines ("make V=s"):

"chmod: prof_err.h: new permissions are r--rw-r--, not r--r--r--"
"chmod: prof_err.c: new permissions are r--rw-r--, not r--r--r--"

Setting "umask 0002" before starting "make" helps. Probably the warning issued by "chmod" also raises the return value, so this is regarded as an error causing the build to stop.

While the workaround is easy, the problem is difficult to locate for the user, so this needs to be fixed.

Set "umask 0022" before building to reproduce this error.

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Damian Kaczkowski


comment:2 Changed 22 months ago by kraut

+1 also

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.