On 10/20/2010 03:13 PM, Balbir Singh wrote: > * Ivana Varekova<[email protected]> [2010-10-20 15:11:40]: > > >> On 10/20/2010 03:06 PM, Balbir Singh wrote: >> >>> * Ivana Varekova<[email protected]> [2010-10-20 14:47:44]: >>> >>> >>>> This patch remove the permission change for newly created group. >>>> Using mkdir and kernel api the new control group directory has permissions >>>> 755. cgconfigparser and cgcreate create new groups with permissions 775 >>>> and all files in these groups have permissions 777, >>>> (It overrides the default permissions which was set by kernel api). >>>> I don't see any reason for this change. >>>> The patch changes the behavior of several function to preserve the >>>> permissions >>>> which was set by kernel. >>>> >>>> >>> There is a reason for doing that, please try working with default >>> groups :) >>> >>> >> Please what is the reason? >> > We want all tasks to be able to go to the sysdefault group, even > though sysdefault is created by root - that is specifically for > default groups. Beyond that 775 allows owners/group permissions to > work correctly. 777 is not required for any group except default, > IIRC. > > Hello, what about to use permission change only for sysdefault group? For example fedora does not use sysdefault group so there is no need to chanege the permission there. Ivana
------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
