Skip to content
Commit 6f88a440 authored by Ben Hutchings's avatar Ben Hutchings Committed by Chris Mason
Browse files

btrfs: Require CAP_SYS_ADMIN for filesystem rebalance



Filesystem rebalancing (BTRFS_IOC_BALANCE) affects the entire
filesystem and may run uninterruptibly for a long time.  This does not
seem to be something that an unprivileged user should be able to do.

Reported-by: default avatarAron Xu <happyaron.xu@gmail.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent f690efb1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment