Re: Should debugfs be world-readable?

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

 



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.

Does your distro override those values?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux