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/
_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs