]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
fixes the cgsnapshot problem with pfile permisssions
authorIvana Hutarova Varekova <varekova@redhat.com>
Mon, 25 Oct 2010 10:27:08 +0000 (12:27 +0200)
committerJan Safranek <jsafrane@redhat.com>
Tue, 26 Oct 2010 06:36:16 +0000 (08:36 +0200)
commita4279b515b4fa48c3277c13eaca1119e159b427a
treeedc9486d1f161e9a7cc1c38eb3aac9c3f1c1f31e
parent783fa2b4ed048ea4398aee1c6320470b207e0311
fixes the cgsnapshot problem with pfile permisssions

cgpconfigparser changes the permissions of all files. That's why to test whether the variable file is writable, there have to be used the variable file from the root group.

  CHANGELOG:
* add the information why root group is used for finding which variable is writable

Signed-off-by: Ivana Hutarova Varekova<varekova@redhat.com>
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
src/tools/cgsnapshot.c