Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #202093
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: IT IS A BUG -- Re: Strangeness when binary executable overwritten by text -- bug or feature? |
| Date | 2018-11-04 14:40 +0100 |
| Message-ID | <wQqNb-7KX-11@gated-at.bofh.it> (permalink) |
| References | <wOZvI-4QK-7@gated-at.bofh.it> <wQqDw-7HX-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Nov 04, 2018 at 07:24:04AM -0600, Richard Owlett wrote:
> Turns out there was a *YUCKY* choice for a default setting.
> In the default profile for mate-terminal there is a choice titled
> "Run command as a login shell".
> The option is *not* enabled.
>
> That makes the choice "given"(sic) by Caja of
> "Run in terminal"
> and
> "Run"
> moot.
I think your real issue here is that whatever this GUI launcher is,
it does nothing visible when told to launch an executable file that
is not a valid binary. It may have spewed some error into some log
file, but did not pop up a dialog saying "That isn't a valid binary"
or whatever. I don't think that you would get different results no
matter what setting you had for running terminals as login or not.
So if it bothers you that trying to execute garbage produces no
visible feedback, I think that is the bug you should file.
I don't think the login shell setting has anything to do with it. I
can't see why whether it is a login shell or not has any bearing on
what happens when the system tries to execute a file of junk.
$ dd if=/dev/urandom bs=1k count=100 of=/tmp/foo
100+0 records in
100+0 records out
102400 bytes (102 kB) copied, 0.0142731 s, 7.2 MB/s
$ chmod -c +x /tmp/foo
mode of ‘/tmp/foo’ changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x)
$ /tmp/foo
/tmp/foo: line 10: syntax error near unexpected token `('
b����fooB�B��A�>O���g� [j%�9̋Ov��g��í�<���ᲾU��9hj�y3j��(�c5�S��S]Ub���l��)�xdƁU]D�Hho{�v�z� �=}3��
(���;g�:5��o���a\Yg��/�┘ˬ�R�L┬�·��*→·V&���d6TEeC/�ܨ�A�⎺�)/S���;O]Pڣ��⎼K���G┤�*ɾ%�π�!ĵ�5_";S��] c�$
N≠·(&%↓Z�����V�│���L⎻/─�┌��7�ݢ≤←b���\ʿ┬:���*2��˸�ٜ���⎼>@'M[�;�K�⎺HL≤�ʠ
���→X@�;�πO$⎽@┴��≥⎺�C9π"≠�)8�⎼�R���)π�b�ߨ�┌π��/��Ѝ│ج�
┌���S(�↓⎺��▒�┌�◆ꍺ)H?#&C┘≥?�E_#��O#���1Џ�_�,̆
*ׅM� J*�c��%�==�KI��KH��GL≥$≤�=�!▮⎼�R�6�װ��UZ�m��d�'1Dsy"}R�)G
��q=[|�5C-M]2���� 0��!ԧG=q�j�hj'
$
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Strangeness when binary executable overwritten by text -- bug or feature? Richard Owlett <rowlett@cloud85.net> - 2018-10-31 15:20 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Curt <curty@free.fr> - 2018-10-31 15:30 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Richard Owlett <rowlett@cloud85.net> - 2018-10-31 15:40 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Reco <recoverym4n@enotuniq.net> - 2018-10-31 15:40 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Gene Heskett <gheskett@shentel.net> - 2018-10-31 15:50 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Gene Heskett <gheskett@shentel.net> - 2018-10-31 16:00 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Gene Heskett <gheskett@shentel.net> - 2018-10-31 15:50 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Curt <curty@free.fr> - 2018-10-31 16:00 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Reco <recoverym4n@enotuniq.net> - 2018-10-31 15:30 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-10-31 15:50 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Richard Owlett <rowlett@cloud85.net> - 2018-10-31 16:00 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? rhkramer@gmail.com - 2018-10-31 16:40 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Richard Owlett <rowlett@cloud85.net> - 2018-10-31 16:50 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? rhkramer@gmail.com - 2018-10-31 17:00 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Curt <curty@free.fr> - 2018-10-31 17:40 +0100
Re: Strangeness when binary executable overwritten by text -- bug or feature? Richard Owlett <rowlett@cloud85.net> - 2018-10-31 17:40 +0100
IT IS A BUG -- Re: Strangeness when binary executable overwritten by text -- bug or feature? Richard Owlett <rowlett@cloud85.net> - 2018-11-04 14:30 +0100
Re: IT IS A BUG -- Re: Strangeness when binary executable overwritten by text -- bug or feature? Andy Smith <andy@strugglers.net> - 2018-11-04 14:40 +0100
Re: IT IS A BUG -- Re: Strangeness when binary executable overwritten by text -- bug or feature? Richard Owlett <rowlett@cloud85.net> - 2018-11-05 13:20 +0100
Re: IT IS A BUG -- Re: Strangeness when binary executable overwritten by text -- bug or feature? Andy Smith <andy@strugglers.net> - 2018-11-05 13:40 +0100
Re: IT IS A BUG -- Re: Strangeness when binary executable overwritten by text -- bug or feature? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-05 15:10 +0100
Re: IT IS A BUG -- Re: Strangeness when binary executable overwritten by text -- bug or feature? Curt <curty@free.fr> - 2018-11-05 16:10 +0100
csiph-web