2014-06-26 02:55:14

by Gobinda Charan Maji

[permalink] [raw]
Subject: Re: Stricter module param and sysfs permission checks

Gobinda Charan Maji <gobinda.cemk07 <at> gmail.com> writes:



>
> Hi All,
>
> 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
>
>

Hi All,

I could not get any response yet.

Hi Rusty,

Please at least give me a reply even if my concept seems to be incorrect to
you.

Thanks in advance,
Gobinda