Messages in this thread | | | Subject | Re: [RFC/RFT PATCH] cgroup: enable write permission for the group of users | From | Peter Zijlstra <> | Date | Wed, 02 Feb 2011 12:13:03 +0100 |
| |
On Wed, 2011-02-02 at 02:27 +0100, Ingo Molnar wrote: > * Paul Menage <menage@google.com> wrote: > > > On Tue, Feb 1, 2011 at 1:02 AM, Jordi Pujol <jordipujolp@gmail.com> wrote: > > > Hello, > > > > > > Working in a development that uses control groups and libcgroup, I have found > > > that the files in control groups directories need write permission for the > > > group of users also. > > > > This can be configured from userspace - chmod() works just fine on > > control files in cgroupfs. > > Sure, many things can be worked around in user-space, but the question is, does the > +g make sense as default cgroupfs permissions?
I don't think this is anything the kernel can guess, the cgroup filesystem is root only on initial mount time for a good reason. Anything thereafter is purely up to userspace.
| |