On Tue 17-05-11 12:57:11, Jan Safranek wrote: > On 05/16/2011 02:07 PM, Michal Hocko wrote: [...] > > The patch checks whether uid differs from gid either for task or admin > > and automatically changes the file and directory permissions to be user > > and group read&write (and executable for directories). > > Why is gid and uid compared together?
The point is that if you specigy different gui than uid you are doing that probably because you want to grant access to that group which is not possible without group permissions. My cgroups tools are not setuid so I cannot use cgexec to any groups with this layout. > > > The proper fix for this would be to enable file and directory permissions > > setting in configuration file but let's do it later. > > Well, fa3d180b is there for a reason, adding 664 everywhere will break > e.g. cgsnapshot. Some parameters are meant only for writing, typically > devices.allow/deny. If you want to fix it properly, then copy user's > permissions to group, i.e. from > --w-------. 1 root root 0 2010-11-02 08:04 devices.allow > to > --w--w----. 1 root root 0 2010-11-02 08:04 devices.allow Will have a look at this. -- Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel