Re: Should debugfs be world-readable?

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

 



Hi,

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes:
> On Wed, Feb 07, 2018 at 01:41:27PM +0200, Felipe Balbi wrote:
>> 
>> Hi guys,
>> 
>> I've been thinking about this for a while now. Should we allow debugfs
>> files be world-readable?
>
> By default, debugfs is not mounted world-readable, so no matter what the
> permissions are on the files, "normal" users can't access them.
>
> See commit 82aceae4f0d4 ("debugfs: more tightly restrict default mount mode")
> that was in 3.7 for the last "tightening up" of the permissions on the
> filesystems.

Indeed :-) Thanks for that.

> Does your distro override those values?

No, apparently it doesn't :-) there should be no issues then.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux