[FS#198] image: commit a16a8814ead80984ce4ef7bed756434119b3aafa breaks dnsmasq

LEDE Bugs lede-bugs at lists.infradead.org
Sun Oct 2 10:38:37 PDT 2016


The following task has a new comment added:

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

----------
That was indeed the problem.

The account I use for building images runs with umask setting 0027, which means that the files from Github feeds all have 0640 / 0750 permissions. It turns out many files are simply copied to the build directory without changing permissions. This means that if a file or directory on the build system has 0640 / 0750 permission, the permissions in the image will also not be world readable. Previously, this was not an issue, as the permissions were always changed to a 0755 / 0644 (with the exception of some files), but now this no longer is the case, it breaks packages.

This cause my /etc directory to have permission 0750 and likewise LuCI was throwing an error, as lots of files didn't have world readable permission. I'm not sure I like this new behavior. At least people should be warned that they need to checkout the Github feeds with a umask setting not more strict than 0022, in order to prevent this from causing problems in the images.
----------

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



More information about the lede-bugs mailing list