[FS#198] image: commit a16a8814ead80984ce4ef7bed756434119b3aafa breaks dnsmasq

LEDE Bugs lede-bugs at lists.infradead.org
Tue Oct 4 02:50:53 PDT 2016


The following task has a new comment added:

FS#198 - image: commit a16a8814ead80984ce4ef7bed756434119b3aafa breaks dnsmasq
User who did this - Hannu Nyman (hnyman)

----------
The new umask prereq check stopped me: I had umask 0002, which now fails the new check for exactly 0022.

I checked and as far as I can see, 0002 is the default in Ubuntu, so the change will likely hit a lot of users. The definition in Ubuntu is defined in /etc/login.defs as a combination of UMASK 0022 and USERGROUPS_ENAB YES that changes the actual UMASK to 0002. Link to a short explanation: https://ubuntuforums.org/showthread.php?t=2154180&p=12691326#post12691326 

I am not sure if the requirement to have exactly 0022 is the optimal solution. Does the group bit have real impact here?

Could the grep value be changed from "0022" to either "00.2" or "00[02]2" ?

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=198#comment558



More information about the lede-bugs mailing list