Application profiles with spaces in their names
Bug #715676 reported by
Marty
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ufw
I can't find documentation on application profiles so please point me at them if they cover this.
Ubuntu 10.10 has a number of application profiles (SSH, Apache, Postfix etc.etc.). Some of them use names with spaces.
# ufw allow Apache Full
ERROR: Need 'to' or 'from' clause
There are a number of ways to approach this:
- discourage the use of spaces in the name
- document the need for quoting these names in the man page
- attempt to handle these names within ufw.
Related branches
To post a comment you must log in.
Thank you for using Ubuntu and helping to make it better. Documentation for application profiles is in the ufw(8) man page under the section 'APPLICATION INTEGRATION'. As for profiles with spaces in the names, they work fine as long as you quote them (as you mentioned). This is not a problem with ufw but is simply how the shell works. For example:
$ sudo ufw allow Apache Full
ERROR: Need 'to' or 'from' clause
$ sudo ufw allow 'Apache Full'
Rule added
I have made an adjustment to the man page to make this clear.