X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=install-sh;h=39ed53b707aed1be9cd86e87f06f2a71a6357afd;hb=eae1bd2f705a2c61e143c539f8c4d1e9c2b4efe6;hp=89fc9b098b8c5ab20ff24069b7233ab411aec440;hpb=b09af35f2f1cde7649d3ac4a6f5d2af6d97895a0;p=fw%2Fsdcc diff --git a/install-sh b/install-sh index 89fc9b09..39ed53b7 100755 --- a/install-sh +++ b/install-sh @@ -17,6 +17,9 @@ # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" +# make sure ordinary users can access files installed by +# a restrictive root using umaks 0077 +umask 0022 # put in absolute paths if you don't have them in your path; or use env. vars.