From: vineet.gupta1@synopsys.com (Vineet Gupta)
To: linux-snps-arc@lists.infradead.org
Subject: [PATCH] testsuite fix: timezone: failing due to permissions in cross testing
Date: Mon, 17 Dec 2018 15:38:25 -0800 [thread overview]
Message-ID: <6bf15909-aac2-62ea-342b-79cf8e99f13d@synopsys.com> (raw)
In-Reply-To: <alpine.DEB.2.21.1812172322060.9554@digraph.polyomino.org.uk>
On 12/17/18 3:25 PM, Joseph Myers wrote:
> On Mon, 17 Dec 2018, Vineet Gupta wrote:
>
>> timezone test driver "zic" creates testdata directory wuth umask 755, so
>> only root owner/group has write permissions. However the buildroot
> root should not be involved in running tests at all; all tests should run
> as a normal user, the same one that owns the build directory, and thus all
> files and directories in the build directory should be owned by that user.
> (Some tests use user namespaces to test functionality that requires root,
> but that's root inside a namespace, not the real user root.)
>
> So I think you need to explain more about your test configuration that
> results in permissions problems so we can tell if you have a valid test
> configuration at all.
The setup is obviously is cross test, built using buildroot. The system is minimal
with root allowed w/o password to enable tests to run quickly.
On host I do the following which certainly involves root.
| make test-wrapper='<path-to-build-folder>/scripts/cross-test-ssh.sh
root at 192.168.0.20' xcheck
So guess it needs to be sshd or some other user on target ?
next prev parent reply other threads:[~2018-12-17 23:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-17 23:09 [PATCH] testsuite fix: timezone: failing due to permissions in cross testing Vineet Gupta
2018-12-17 23:17 ` Paul Eggert
2018-12-17 23:23 ` Vineet Gupta
2018-12-17 23:25 ` Joseph Myers
2018-12-17 23:38 ` Vineet Gupta [this message]
2018-12-17 23:42 ` Joseph Myers
2018-12-18 9:12 ` Florian Weimer
2018-12-18 17:17 ` Joseph Myers
2019-01-09 12:15 ` Florian Weimer
2018-12-18 16:53 ` Vineet Gupta
-- strict thread matches above, loose matches on Subject: below --
2018-12-17 23:04 Vineet Gupta
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=6bf15909-aac2-62ea-342b-79cf8e99f13d@synopsys.com \
--to=vineet.gupta1@synopsys.com \
--cc=linux-snps-arc@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