Messages in this thread | | | Date | Wed, 25 Aug 2004 13:25:12 -0700 (PDT) | From | Dan Hollis <> | Subject | bizarre 2.6.8.1 /sys permissions |
| |
replies cc: in email, i'm not subscribed to the list.
Do these file permissions make sense to anyone?
$ uname -r 2.6.8.1 $ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq cat: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq: Permission denied $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Celeron(R) CPU 2.60GHz stepping : 9 cpu MHz : 324.528 [...]
$ ls -al /proc/cpuinfo -r--r--r-- 1 root root 0 Aug 25 13:18 /proc/cpuinfo $ ls -la /sys/devices/system/cpu/cpu0/cpufreq/ total 0 drwxr-xr-x 2 root root 0 Aug 23 13:06 . drwxr-xr-x 3 root root 0 Aug 23 13:06 .. -r-------- 1 root root 4096 Aug 23 13:06 cpuinfo_cur_freq -r--r--r-- 1 root root 4096 Aug 23 13:06 cpuinfo_max_freq -r--r--r-- 1 root root 4096 Aug 23 13:06 cpuinfo_min_freq -r--r--r-- 1 root root 4096 Aug 23 13:06 scaling_available_frequencies -r--r--r-- 1 root root 4096 Aug 23 13:06 scaling_available_governors -r--r--r-- 1 root root 4096 Aug 23 13:06 scaling_cur_freq -r--r--r-- 1 root root 4096 Aug 23 13:06 scaling_driver -rw-r--r-- 1 root root 0 Aug 25 13:19 scaling_governor -rw-r--r-- 1 root root 4096 Aug 23 13:06 scaling_max_freq -rw-r--r-- 1 root root 4096 Aug 23 13:06 scaling_min_freq -rw-r--r-- 1 root root 0 Aug 25 13:19 scaling_setspeed
- 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/
| |