lkml.org 
[lkml]   [2002]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: world read permissions on /proc/irq/prof_cpu_mask and ...smp_affinity
On Wed, Dec 04, 2002 at 10:37:01AM -0500, Ingo Molnar wrote:
> > Is there any reason to set the permissions to 0600?
> > It makes the admin to login as root just to look on the
> > current system state.
> > Is there something against 0644?
>
> i've got nothing against 0644, 0600 was just the default paranoid value.
> (reading it could in theory mean an IO-APIC read.)
>

Just found a patch from Olaf Dietsche (2.5.40: fix chmod/chown on procfs).
Quote:
This patch allows to change uid, gid and mode of files and directories
located in procfs.

The patch was accepted 2.5.

This perfectly solves the problem, and in very clean way, i think.

-alex
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.281 / U:0.172 seconds]
©2003-2011 Jasper Spaans. Advertise on this site