Hello Roland,
On Sun, 2005-07-31 at 21:29, Roland Illig wrote:
Too late. :) I just committed this nice, small fix.
I do not appreciate you prematurely ending this discussion. I think it
is clear I am on top of this issue and that it will be fixed in not too
long a time, so there is no need for
URL:
http://savannah.gnu.org/bugs/?func=detailitemitem_id=13832
Summary: Cannot execute user menu command if temporary
directory is in filesystem mounted with noexec option
Project: GNU Midnight Commander
Submitted by: None
Submitted
Follow-up Comment #5, bug #13832 (project mc):
Before committing this patch I'd like to see it extended in either of the
following ways first:
a) Test for mount options of $MC_TMPDIR and concatenate /bin/sh only when
necessary.
b) Extend shell_execute(), do_execute() to pass the error
Follow-up Comment #3, bug #13832 (project mc):
It works for me too. I looked closer at the code as soon as I had time and it
looks ok. The only thing which bothers me is that an additional shell is
executed each time a user menu command is invoked . Maybe the code should
query the mount options
Follow-up Comment #4, bug #13832 (project mc):
Btw maybe you could use the global variable 'shell' here:
+ char *cmd = g_strconcat(/bin/sh , file_name, (char
^^
Just a thought.
___
Reply to
URL:
http://savannah.gnu.org/bugs/?func=detailitemitem_id=13832
Summary: Cannot execute user menu command if temporary
directory is in filesystem mounted with noexec option
Project: GNU Midnight Commander
Submitted by: None
Submitted