X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhshowsbr.c;h=83616a263fae3f5cdfa91052495edb7243c7ee9d;hp=71f55a4335d9afbf423124c83256767e7b594166;hb=8f4c5da8971926f7eccc912f7998c343aef3c33b;hpb=dfacc915824a819be2e33cdb2a34d1d1de27fc34 diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index 71f55a4..83616a2 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -12,8 +12,8 @@ #include #include #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