commit | 07f6a480436595394a06a69d0ebc18fef6736197 | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@redhat.com> | Wed Aug 31 16:49:29 2016 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Sep 26 17:59:49 2016 +0200 |
tree | f313ecd11c0756473231089700df3f5a01c55c54 | |
parent | c79a175175d5a908a7c4d923d44f36808f56536e [diff] |
btrfs: fix perms on demonstration debugfs interface 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: Eric Sandeen <sandeen@redhat.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>