> I have RHEL ES 5 (fully updated) running on a server, and I have found two > files on it that have unusual file permissions:
> --------wx 1 root root 4096 Jan 22 2131 > /sys/module/sbs/paramaters/capacity_mode > --------w- 1 root root 4096 Jan 22 2131 > /sys/module/sbs/paramaters/update_mode Err, is this a typo? - they should be in sbs/parameters/... > Could someone tell me how to figure out what these files do, and why they > have such uneven file permissions (i.e. world write, but not owner or group > write)? What they do: dunno, however they are related to the Smart Battery System (sbs) which is an ACPI feature that's used to monitor some laptop batteries. https://sourceforge.net/projects/sbs-linux/ As to why they have strange permissions... do you have the sbs driver listed in your lsmod output? A random RHEL5 server I picked shows this: [EMAIL PROTECTED] ~]$ ls -l /sys/module/sbs/parameters/ total 0 --------wx 1 root root 4096 Jan 28 20:23 capacity_mode --------w- 1 root root 4096 Jan 28 20:23 update_mode ----rwxr-- 1 root root 4096 Jan 28 20:23 update_time Yet this laptop, which is funning Fedora 8, those files don't even exist until I load sbs.ko at which point they look like this: [EMAIL PROTECTED] sysfs]$ ls -l /sys/module/sbs/parameters/ total 0 -r--r--r-- 1 root root 4096 2008-01-28 19:59 capacity_mode -rw-r--r-- 1 root root 4096 2008-01-28 19:59 update_time The difference is that Fedora is using 2.6.23.9 whereas RHEL is using 2.6.18-53 - and SBS was only put in the kernel in 2.6.18 so possibly at this point its /sys interfaces are immature. -- Sam
<<winmail.dat>>
_______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
