I'm trying to build a project, and when I use the command
make, I get the following errors:
/bin/sh: line 4: .deps/ipset_bitmap_ipmac.Tpo: Permission denied make: *** [ipset_bitmap_ipmac.lo] Error 126
This file, .deps/ipset_bitmap_ipmac.Tpo, was created by
make during the build with the following permissions: -rw-r--r--, notice that there's no x. But then
make wants to execute the file immediately, which fails.
If I go to the file and add executable permissions manually, then the build continues past that point if I re-run
make. Except that the
make command will crash again once it reaches the next file. The only option I have is to keep
chmoding every single new file.
My question is, why is
make creating these new files without +x?
Side notes: I'm on CentOS5,
umask -S returns: u=rwx,g=rx,o=rx,
sudo doesn't help at all.