]>
Commit | Line | Data |
---|---|---|
471025b8 DM |
1 | Index: new/src/lxc/lxccontainer.c |
2 | =================================================================== | |
3 | --- new.orig/src/lxc/lxccontainer.c | |
4 | +++ new/src/lxc/lxccontainer.c | |
2ce06cd0 | 5 | @@ -870,6 +870,11 @@ static int do_create_container_dir(const |
471025b8 DM |
6 | return -1; |
7 | } | |
8 | } | |
9 | + | |
10 | + /* it is not possible to set ownership on /etc/pve */ | |
11 | + if (strncmp(path, "/etc/pve/lxc/", 12) == 0) | |
12 | + return ret; | |
13 | + | |
14 | strcpy(p, path); | |
15 | if (!lxc_list_empty(&conf->id_map) && chown_mapped_root(p, conf) != 0) { | |
16 | ERROR("Failed to chown container dir"); |