All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Lai <m@matthewlai.ca>
To: linux-btrfs@vger.kernel.org
Subject: btrfs send requires root
Date: Wed, 29 Jan 2014 11:26:42 -0800	[thread overview]
Message-ID: <52E955F2.60608@matthewlai.ca> (raw)

Hello!

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?

My setup (/data is the root subvolume):
mkdir /data/snapshots
btrfs subvolume snapshot -r /data /data/snapshots (creates 
/data/snapshots/data)
btrfs send /data/snapshots/data > /dev/null

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

Thanks!
Matthew

             reply	other threads:[~2014-01-29 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29 19:26 Matthew Lai [this message]
2014-01-30 18:30 ` btrfs send requires root David Sterba
2014-01-30 21:41   ` Matthew Lai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52E955F2.60608@matthewlai.ca \
    --to=m@matthewlai.ca \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.