[Bug 1169604] [NEW] set permission to og+rx on working directory to allow test execution by any user

Ian Jackson ijackson at chiark.greenend.org.uk
Tue Apr 16 16:49:35 UTC 2013


Jean-Baptiste Lallement writes ("[Bug 1169604] [NEW] set permission to og+rx on working directory to allow test execution by any user"):
> Public bug reported:
> 
> 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.

Simply changing the permissions is not correct.  Tests might contain
confidential information, and the test runner might be running on a
system which is doing other work.

If it is necessary for a test to share information between multiple
non-root users, it should create a suitable Unix group, or something.

What are you trying to do ?

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:
  New

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