Re: /sys/ file access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 12, 2013 at 2:25 PM, kernel kernel <kernel@xxxxxxxxxxxxx> wrote:
> I wish to read the file "/sys/devices/system/cpu/cpu0/cpufreq" as an
> unprivileged user. The default permissions on this file are:
>
> -r-------- 1 root root
>
> What is the rationale behind this? All other files in this directory
> are world readable.

Permissions as shown on my Thinkpad with ubuntu 12.04

viresh@blr-linut-001:$ ll /sys/devices/system/cpu/cpu0/
drwxr-xr-x 3 root root    0 Jul 11 17:53 cpufreq/
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux