On 05/27/2011 02:56 PM, Jan Safranek wrote: > The function changes permissions only in the first hierarchy, but it should > change it in all of them.
Just for reference, here is simple reproducer: 1) have cpuacct and freezer mounted separately, i.e.: $ lssubsys -m cpuacct /sys/fs/cgroup/cpuacct freezer /sys/fs/cgroup/freezer 2) create a group with specific permissions: $ cgcreate -f 700 -g freezer,cpuacct:/test Result: $ ls -la /sys/fs/cgroup/freezer/test/ -rwx------. 1 jsafrane jsafrane 0 May 31 09:16 cgroup.clone_children -rwx------. 1 jsafrane jsafrane 0 May 31 09:16 cgroup.event_control (-> first controller is fine) $ ls -la /sys/fs/cgroup/cpuacct/test/ -rw-r--r--. 1 jsafrane jsafrane 0 May 31 09:16 cgroup.clone_children --w--w--w-. 1 jsafrane jsafrane 0 May 31 09:16 cgroup.event_control (-> second controller is wrong, it should be -rwx------) Jan ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel