Create cgroups mode 755, not 655 (Ryota Ozaki)

This commit is contained in:
Daniel P. Berrange 2009-05-08 10:24:11 +00:00
parent 328eac61cd
commit b81c7c0892
2 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -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;