* Michal Hocko <[email protected]> [2011-05-19 10:59:29]:

> On Tue 17-05-11 19:31:21, Dhaval Giani wrote:
> > On Tue, May 17, 2011 at 6:09 PM, Michal Hocko <[email protected]> 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.
> 
> So if I understand you correctly, you are saying that if I want to use
> libcgroup package and its tools I have to setup permissions manually?
> If that is the case then I would consider the commit which changes the
> permissions setting as regression. 
> 
> SLE11-SP1 uses libcgroup 0.34 where I can use cgexec without any issues,
> OpenSUSE 11.3 has 0.36 is safe as well. Debian (current testing)
> has 0.37.1 (which contains fa3d180b) doesn't work that way anymore.
> 
> Please note that the solution proposed here is just a workaround. I do
> not like it as well. If you guys say that the the stable release can
> introduce configuration enhancements then I am fine with the perm
> setting in configuration as well. I am almost ready with it.

I am OK with a work around, simply because we had some form of it
before. The configuration enhancements can happen as a follow up.

What do others feel?

-- 
        Three Cheers,
        Balbir

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to