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