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

heisenberg2980

New Member
May 14, 2022
11
0
1
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!