From: Ingo Molnar <mingo@kernel.org>
To: Taeung Song <treeze.taeung@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>,
linux-kernel@vger.kernel.org, jolsa@redhat.com,
namhyung@kernel.org, Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <a.p.zijlstra@chello.nl>
Subject: Re: [PATCH v1] perf report: Fix owner error when reading perf.data
Date: Thu, 1 Oct 2015 11:10:31 +0200 [thread overview]
Message-ID: <20151001091031.GA6543@gmail.com> (raw)
In-Reply-To: <1443690214-1194-1-git-send-email-treeze.taeung@gmail.com>
* Taeung Song <treeze.taeung@gmail.com> wrote:
> If perf.data file is owned by some user,
> it can't be read even if current user is root.
That's intentional: to keep a malicious local user from passing a perf.data to
root who does 'perf report' accidentally or in the wrong directory.
root can copy or chown it to himself - or we could add some --really-force flag
for that.
Thanks,
Ingo
next prev parent reply other threads:[~2015-10-01 9:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-01 9:03 Taeung Song
2015-10-01 9:10 ` Ingo Molnar [this message]
2015-10-01 12:26 ` Taeung Song
2015-10-01 12:54 ` Arnaldo Carvalho de Melo
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=20151001091031.GA6543@gmail.com \
--to=mingo@kernel.org \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@kernel.org \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=treeze.taeung@gmail.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
Powered by JetHome