Re: [PATCH V2] btrfs: fix perms on demonstration debugfs interface

2016-09-01 Thread David Sterba
On Wed, Aug 31, 2016 at 04:49:29PM -0500, Eric Sandeen wrote: > btrfs provides a helpful demonstration of how to export > a global variable via debugfs; however, it is unique among > other debugfs files in that it is world-writable, which causes > some concern to people who are not familiar with it

[PATCH V2] btrfs: fix perms on demonstration debugfs interface

2016-08-31 Thread Eric Sandeen
btrfs provides a helpful demonstration of how to export a global variable via debugfs; however, it is unique among other debugfs files in that it is world-writable, which causes some concern to people who are not familiar with its purpose. Fix it so that it is only user-writable. Signed-off-by: E