[SOLVED] Is there a way to give a CT access to a folder which path contains spaces?

May 14, 2022
11
0
6
I am trying to access a folder which path contains spaces from a CT, and I have tried all possible combinations of adding the folder to /etc/pve/lxc/ct_id.conf using individual brackets, double brackets, escaping the spaces with "\", "\040" and "\x20", but nothing seems to work. I even tried to create a symlink in the host server and used that symlink in the conf file without any luck either, is there a way to do this?
 
To give a bit more context, adding folders without spaces in the path to the CT by including them in the /etc/pve/lxc/ct_id.conf works fine, this is an example:
Code:
mp0: /mnt/Basic5TB,mp=/mnt/Basic5TB

But when I try to add a folder which path contains spaces (i.e. "/mnt/Basic5TB/My Documents" the CT doesn´t start.
 
Last edited: