public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Sidong Yang <realwakka@gmail.com>
To: dsterba@suse.cz, Nikolay Borisov <nborisov@suse.com>,
	Graham Cobb <g.btrfs@cobb.uk.net>,
	linux-btrfs <linux-btrfs@vger.kernel.org>,
	David Sterba <dsterba@suse.com>
Subject: Re: [PATCH v3] btrfs-progs: filesystem: du: skip file that permission denied
Date: Sun, 5 Dec 2021 15:13:51 +0000	[thread overview]
Message-ID: <20211205151351.GA1160@realwakka> (raw)
In-Reply-To: <20211130174340.GJ28560@twin.jikos.cz>

On Tue, Nov 30, 2021 at 06:43:40PM +0100, David Sterba wrote:
> On Mon, Nov 22, 2021 at 03:54:11PM +0000, Sidong Yang wrote:
> > This patch handles issue #421.
> 
> The issue is about descending to mount points, while you add handling of
> permissions. Is it referring to the right issue?

I understood it as a permission issue. Because the issue describe that
it can not descend into a folder because of permission. So, I patched
about permission. It could be solved with skipping all decending mount
points. But I think it's little awkward because "/bin/du" doesn't work
like it.

      reply	other threads:[~2021-12-05 15:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 15:54 [PATCH v3] btrfs-progs: filesystem: du: skip file that permission denied Sidong Yang
2021-11-30 17:43 ` David Sterba
2021-12-05 15:13   ` Sidong Yang [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=20211205151351.GA1160@realwakka \
    --to=realwakka@gmail.com \
    --cc=dsterba@suse.com \
    --cc=dsterba@suse.cz \
    --cc=g.btrfs@cobb.uk.net \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=nborisov@suse.com \
    /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