linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Lai <m@matthewlai.ca>
To: linux-btrfs@vger.kernel.org
Subject: Re: btrfs send requires root
Date: Thu, 30 Jan 2014 13:41:12 -0800	[thread overview]
Message-ID: <52EAC6F8.9040005@matthewlai.ca> (raw)
In-Reply-To: <20140130183007.GD1364@twin.jikos.cz>

Ah I see. Thanks for clarifying!

Matthew

On 30/01/2014 10:30 AM, David Sterba wrote:
> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


      reply	other threads:[~2014-01-30 21:41 UTC|newest]

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

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=52EAC6F8.9040005@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).