mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
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>
|
||||
|
||||
Fix /dev/ population to use char devices (Ryota Ozaki)
|
||||
|
@ -436,7 +436,7 @@ static int virCgroupMakeGroup(const char *name)
|
||||
virCgroupFree(&root);
|
||||
|
||||
if (access(path, F_OK) != 0) {
|
||||
if (mkdir(path, 0655) < 0) {
|
||||
if (mkdir(path, 0755) < 0) {
|
||||
rc = -errno;
|
||||
VIR_FREE(path);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user