On Tue, May 17, 2011 at 6:09 PM, Michal Hocko <mho...@suse.cz> wrote: > 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. >
That still does not mean that the uid and gid can be directly compared, and if there is even a direct relationship. You have to setup the group permissions regardless. Dhaval ------------------------------------------------------------------------------ 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