Bug#608185: Bug #608185: btrfs-tools: balance tree action should be only triggered by root

2010-12-29 Thread Uwe Kleine-König
Hello Aron, On Wed, Dec 29, 2010 at 01:31:41PM +0800, Aron Xu wrote: > I think a workaround (geteuid test) is needed to be settled in > btrfs-tools, but not just wait for a kernel change. if you want to stop people doing bad things by accident, OK, but a geteuid test won't stop people that want to

Bug#608185: Bug #608185: btrfs-tools: balance tree action should be only triggered by root

2010-12-29 Thread Aron Xu
2010/12/29 Uwe Kleine-König : > Hello Aron, > > On Wed, Dec 29, 2010 at 01:31:41PM +0800, Aron Xu wrote: >> I think a workaround (geteuid test) is needed to be settled in >> btrfs-tools, but not just wait for a kernel change. > if you want to stop people doing bad things by accident, OK, but a > ge

Bug#608185: Bug #608185: btrfs-tools: balance tree action should be only triggered by root

2010-12-28 Thread Aron Xu
On Tue, Dec 28, 2010 at 21:53, Aron Xu wrote: > Package: btrfs-tools > Version: 0.19+20100601-3, 0.19+20101101-1 > Severity: serious > > Balance tree action of btrfs command should be limited to only root > user, because it may cause data corrupt and usually result in an > uninterruptible process