[Bug 1169604] Re: set permission to og+rx on working directory to allow test execution by any user
Ian Jackson
ijackson at chiark.greenend.org.uk
Thu Apr 18 16:30:52 UTC 2013
Jean-Baptiste Lallement writes ("[Bug 1169604] Re: set permission to og+rx on working directory to allow test execution by any user"):
> The case I'm trying to address, is a test running as root to prepare the
> test environment (for example start/stop services) then drop privileges
> to another user with 'su' to run the actual testsuite.
The current metadata doesn't support ordering or mutual dependencies
between tests, so you have other problems too I think.
But in your particular case, you can have your prep make a temporary
directory owned by the user.
Ian.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1169604
Title:
set permission to og+rx on working directory to allow test execution
by any user
Status in “autopkgtest” package in Ubuntu:
Confirmed
Bug description:
adt-run creates a working directory with mktemp in /tmp/ e.g /tmp/tmp.XXXXXX which is set to the default permissions u+rwx.
This makes impossible to execute tests with another user than the user who started the tests or root.
permissions should be changed to og+rx for this directory.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1169604/+subscriptions
More information about the foundations-bugs
mailing list