X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhshowsbr.c;h=eb6910019736efdc70a6b227eb810ace0da9b03c;hb=0f540a390a62d9732f61fdb21f82048093a3d63d;hp=71f55a4335d9afbf423124c83256767e7b594166;hpb=dfacc915824a819be2e33cdb2a34d1d1de27fc34;p=mmh diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index 71f55a4..eb69100 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include @@ -136,7 +136,9 @@ show_single_message (CT ct, char *form) union wait status; #endif - umask (ct->c_umask); + /* Allow user executable bit so that temporary directories created by + * the viewer (e.g., lynx) are going to be accessible */ + umask (ct->c_umask & ~(0100)); /* * If you have a format file, then display