lkml.org 
[lkml]   [2015]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Stricter module param and sysfs permission checks
Date
Robert Jarzmik <robert.jarzmik <at> free.fr> writes:

As per the newly added restriction (User perms >= group perms >= other
perms) is concerned, there is an inconsistency in the permission. Say for
example, permission value is "0432". Here User has only READ permission
whereas Group has both WRITE and EXECUTE permission and Other has WRITE
permission. I think it is not good to give Group and Other at least WRITE
permission whereas User itself has no WRITE permission.

May be, it's better to check those three permissions bit wise rather than as
a whole. Please rethink about my point and let me know your opinion.

Thanks,
Gobinda






\
 
 \ /
  Last update: 2015-04-28 16:41    [W:0.085 / U:2.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site