Re: btrfs send requires root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 29, 2014 at 11:26:42AM -0800, Matthew Lai wrote:
> I have just started playing with btrfs, and noticed that "btrfs send" only
> works for root (ERROR: failed to initialize subvol search. Operation not
> permitted), even on subvolumes created by the user.
> 
> Am I doing something wrong? Or is this the intended behaviour?

Intended but can be revisited to allow non-root owner's to send their
snapshots.

> Returns:
> ERROR: can't perform the search- Operation not permitted
> ERROR: failed to initialize subvol search. Operation not permitted

The SEARCH_TREE ioctl is also root-only and a unconstrained interface to
the filesystem internals, so a new ioctl would have to be introduced to
do what send needs.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux