X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhshowsbr.c;h=489993914eefdb126086a1f9c16315473cb8111a;hb=92b681fcfe932ee9bd313059ad8acee71baab6c1;hp=71f55a4335d9afbf423124c83256767e7b594166;hpb=dfacc915824a819be2e33cdb2a34d1d1de27fc34;p=mmh diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index 71f55a4..4899939 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