mirror of https://gitee.com/openkylin/libvirt.git
Create cgroups mode 755, not 655 (Ryota Ozaki)
This commit is contained in:
parent
328eac61cd
commit
b81c7c0892
|
@ -1,3 +1,7 @@
|
||||||
|
Fri May 8 11:24:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/cgroup.c: Create cgroups mode 755, not 655 (Ryota Ozaki)
|
||||||
|
|
||||||
Fri May 8 11:22:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
Fri May 8 11:22:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
Fix /dev/ population to use char devices (Ryota Ozaki)
|
Fix /dev/ population to use char devices (Ryota Ozaki)
|
||||||
|
|
|
@ -436,7 +436,7 @@ static int virCgroupMakeGroup(const char *name)
|
||||||
virCgroupFree(&root);
|
virCgroupFree(&root);
|
||||||
|
|
||||||
if (access(path, F_OK) != 0) {
|
if (access(path, F_OK) != 0) {
|
||||||
if (mkdir(path, 0655) < 0) {
|
if (mkdir(path, 0755) < 0) {
|
||||||
rc = -errno;
|
rc = -errno;
|
||||||
VIR_FREE(path);
|
VIR_FREE(path);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue