Skip to contentSkip to conversation

BTRFS admin access control

DISCUSSION Russell Coker 1 participant 1 message Aug 3, 2016 Btrfs file system

lore
Share & tools
lore
#0 lore raw

I've just written a script for "mon" to monitor BTRFS filesystems. I had to use sudo because "btrfs device stats" needs to be run as root.

Would it be possible to do some of these things as non-root? I think it would be ideal if there was a "btrfs tunefs" operation somewhat comparable to "tune2fs" that allowed us to specify which UID or GID could perform operations like "btrfs device stats".

Signature · 2 lines
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/