mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [bug #17456] shell commands broken


From: spiralvoice
Subject: [Mldonkey-bugs] [bug #17456] shell commands broken
Date: Fri, 18 Aug 2006 20:54:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.6) Gecko/20060810 Firefox/1.5.0.6

Follow-up Comment #1, bug #17456 (project mldonkey):

I will only list results other than yours + explanations.
Also you found two bugs;-)

case 1:
allowed_commands = [
(df, df);
(ls, "ls incoming");]
allow_any_command = false

Output on my machine:
===========================================================
> ! ls
directories
files

---------------- Exited with code 0
===========================================================
! ls incoming
For arbitrary commands, you must set 'allowed_any_command'

- This output is correct, because of allow_any_command = false
you can only use commands which are on the left side in
allowed_commands list:

! ls

is not the same as

! ls incoming

When you call "! ls" MLDonkey looks into allowed_commands list,
finds "ls" and executes the associated command "ls incoming",
allowed_commands is not only a list of allowed commands, but
also a list of command shortcuts.
===========================================================
> ! mount
For arbitrary commands, you must set 'allowed_any_command'

- This works now with the patch attached to this bug report.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?17456>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]