Re:Chmod -x chmod
by RexRollman on Sunday October 10, 2010 @08:51AM
(#1777025)
Couldn't you just set an appropriate umask and then make a copy of chmod?
[ Parent
| on HN ]
I don't think umask setting affects the executable bits of files, just directories. You can try by entering something like
umask 0; touch foo; ls -l foo