Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Aron Xu <[email protected]> Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: Chris Mason <[email protected]>
- Loading branch information