sysfs mount point permissions in 2.5.64

Douglas Gilbert (dougg@torque.net)
Thu, 06 Mar 2003 08:47:20 +1100


In lk 2.5.64 on my i386 box the sysfs mount point
( "/sys") changes permission from:
drwxr-xr-x
to
drw-r--r--
during the boot process. I didn't notice this feature
in lk 2.5.63 . Chmodding the directory back to its former
permissions get overridden by subsequent boot sequences.

This change in permissions inhibits non-root users from using
utilities that scan sysfs for information (e.g. lsscsi).

Is this a feature or otherwise?

Doug Gilbert

-
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/