[bug #13832] Cannot execute user menu command if temporary directory is in filesystem mounted with noexec option
- From: Leonard den Ottolander <savannah-bounces gnu org>
- To: Pavel Tsekov <ptsekov gmx net>, Leonard den Ottolander <leonard den ottolander nl>, mc-devel gnome org
- Cc:
- Subject: [bug #13832] Cannot execute user menu command if temporary directory is in filesystem mounted with noexec option
- Date: Sat, 30 Jul 2005 10:30:44 +0000
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 generated by
my_system on failure. Execute the command plainly and in case of an error
caused by the mount options execute it once again with a concatenated shell.
c) Extend to pass error as in b). Test on init and set a parameter
(need_shell) so we don't have to do this test on every invokation of
shell_execute(). In case of failure because the mount option changed during
the session reset the parameter need_shell to new value and retry.
I would prefer the last option.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=13832>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]