sysfs mount point permissions in 2.5.64

From: Douglas Gilbert (dougg@torque.net)
Date: Wed Mar 05 2003 - 16:47:20 EST


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/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:29 EST