提交 b81c7c08 编写于 作者: D Daniel P. Berrange

Create cgroups mode 755, not 655 (Ryota Ozaki)

上级 328eac61
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册