cherokee / webserver

Cherokee Web Server
GNU General Public License v2.0
568 stars 104 forks source link

Unable to specify a path to configuration file that contains a space #1265

Open finnianr opened 3 years ago

finnianr commented 3 years ago

I am unable to edit this configuration file using the command

sudo cherokee-admin --target=$HOME/.config/Hex\ 11\ Software/myching-server/cherokee.conf

Using quotation marks instead of escaping the spaces does not make any difference. I get the following error message in config tool:

The configuration file /home/finnian/.config/Hex was not found.
skinkie commented 3 years ago

Interesting. I'll investigate where this comes from. Does the regular server work for you? cherokee --config=$HOME/.config/Hex\ 11\ Software/myching-server/cherokee.conf

finnianr commented 3 years ago

Yes, the regular server does work with spaces in the path, so the issue is specific to the admin program

finnianr commented 3 years ago

I also tried using -C instead of --target with the same outcome