Network connection cannot be saved as system setting if connection name contains a "/" character
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Manager Applet |
Fix Released
|
Low
|
|||
network-manager-applet (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: network-
When attempting to save my existing network connection as a system setting (so that it will load on boot without the need to log in), I receive an error: "Adding connection failed: Saving connection failed..".
Steps to reproduce:
1. Use gnome-network-
2. Right click on notification area icon and select "Edit connections..."
3. Add a new connection named "test / conn" with any details but do not specify it as a system setting (notice that it saves with no error and would work)
4. Edit the connection again, but this time tick the "System setting" box (notice the error described above)
Actual results:
The following is listed in the syslog:
nm-system-settings: Error chowning '/etc/NetworkMa
nm-system-settings: Error while saving connection: Failed to create file '/etc/NetworkMa
Expected results:
The connection should be correctly saved as a system setting and a file "/etc/NetworkMa
Does this happen every time?
Yes, as long as the connection name includes a "/" character
Other information:
This should be fixed by making the command which creates the connection file in the "/etc/NetworkMa
I am unsure if this is a Ubuntu specific bug or if it is an upstream issue. I have also filed this bug in the gnome bugtracker at the following address: http://
Changed in network-manager-applet: | |
status: | Unknown → Fix Released |
Changed in network-manager-applet: | |
importance: | Unknown → Low |
hm.... "/" is a VERY special caracter, as it's the separator for your filesystem tree.... just try to do a "touch /tmp/my/super/file" and you'll see...