The permissions on the files in this directory are basically either
read-only for those which are only readable, and read/write for those
which could be written.  However, who can write to them is controlled by
the security module underneath.  At the sysfs level we cannot tell which
permissions are applicable.  Therefore we are pretty much forced to use
444 and 666 as appropriate with the underlying security modules handing
the real permissions.  Also the security module in use can change at any
time, which would affect the pre-existing permissions.

In short the permissions appear to be security module specific, dynamic,
and potentially finer grained than is possible to represent in the unix
permissions bits on the file.  It is not clear how we could fix these to
be more accurate.

** Changed in: linux (Ubuntu)
       Status: In Progress => Incomplete

-- 
kernel displays /proc/1/{attr,task/1/attr}/ files as world readable/writable
https://bugs.launchpad.net/bugs/341580
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to