The "Error 127" part is redolent of: https://savannah.gnu.org/bugs/?57022 (Error 127 executing a script with no #!)
But this report's "Permission denied" has no equivalent there. Still, the strace -f from there suggests an experiment that it would be helpful for Sandy to run here and, like there, it would be useful to know whether make-4.3 was configured on the same system as it was run on and what sort of system it was running on, specifically what version of glibc. ________________________________ From: Bug-make <[email protected]> on behalf of Sandy Urazayev <[email protected]> Sent: Wednesday, February 12, 2020 14:59 To: [email protected] <[email protected]> Subject: Make 4.3 permission denies docker commands ***** EXTERNAL EMAIL ***** Good afternoon! My name is Sandy and I found a breaking issue that currently prevents me from working with Make 4.3 and forced to downgrade to Make 4.2. The problem I found was the docker building. If I have a command ``` docker build ... ``` Make 4.3 gives me the following issue: ``` mib:master > make build go build -v docker --config ./.docker build -t myimage:latest . make: docker: Permission denied make: *** [Makefile:73: buildlocal] Error 127 ---- GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgnu.org%2Flicenses%2Fgpl.html&data=01%7C01%7CMartin.Dorey%40hitachivantara.com%7Ca5d3e00d38aa47b3338408d7b02832fb%7C18791e1761594f52a8d4de814ca8284a%7C0&sdata=Eg3heYVkQni%2FSaOyAY3tozRMBh1oDIX%2F0cvK56pEXJU%3D&reserved=0> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ``` I would suspect that new Make 4.3 runs the command as the other user or with a different context? My user has the permissions to run docker. After downgrading back to Make 4.2, the problem disappears. ``` mib:master* > make build go build -v docker --config ./.docker build -t myimage:latest . Sending build context to Docker daemon 78.19MB ... ---- Built for x86_64-pc-linux-gnu Copyright (C) 1988-2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgnu.org%2Flicenses%2Fgpl.html&data=01%7C01%7CMartin.Dorey%40hitachivantara.com%7Ca5d3e00d38aa47b3338408d7b02832fb%7C18791e1761594f52a8d4de814ca8284a%7C0&sdata=Eg3heYVkQni%2FSaOyAY3tozRMBh1oDIX%2F0cvK56pEXJU%3D&reserved=0> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ``` Thank you -- Sandy
