From: kyak <bas@bmail.ru>
To: dedekind1@gmail.com
Cc: Linux mtd <linux-mtd@lists.infradead.org>
Subject: Re: output file cannot be in the UBIFS root directory check is not working quite well
Date: Wed, 10 Oct 2012 18:55:56 +0400 (MSK) [thread overview]
Message-ID: <alpine.LNX.2.02.1210101855001.1211@bas> (raw)
In-Reply-To: <alpine.LNX.2.02.1210081900410.1375@bas>
Thanks Artem, your patch
(http://lists.infradead.org/pipermail/linux-mtd/2012-October/044477.html)
has fixed my problem as well.
On Mon, 8 Oct 2012, kyak wrote:
> On Mon, 8 Oct 2012, Ricard Wanderlof wrote:
>
>> Definitely. I see your point now. This must be a definite bug in in_path().
>>
>> One problem though is that when in_path() traverses the tree upwards, and
>> encounters a directory which it can't read it can't complete its job. On
>> the other hand, it shouldn't have to do that, it really only needs to see
>> that the output file is not below the top level of the input tree. Or am I
>> missing a case here?
>>
> Yes, it only needs to check if the output file is above the top level
> of the input tree. But I guess it's not that easy - first things that come
> into my mind are symbolic links and mount --bind.
>
next prev parent reply other threads:[~2012-10-10 14:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-03 19:30 output file cannot be in the UBIFS root directory check is not working quite well kyak
2012-10-05 15:57 ` kyak
2012-10-08 13:57 ` Ricard Wanderlof
2012-10-08 14:40 ` kyak
2012-10-08 14:53 ` Ricard Wanderlof
2012-10-08 15:13 ` kyak
2012-10-10 14:55 ` kyak [this message]
2012-10-11 6:01 ` Artem Bityutskiy
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=alpine.LNX.2.02.1210101855001.1211@bas \
--to=bas@bmail.ru \
--cc=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.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