[Bug 1822269] Re: mktemp does not handle -p option when --tmpdir option goes after -p option

Robin Hsu 1822269 at bugs.launchpad.net
Fri Mar 29 09:38:36 UTC 2019


Note: coreutils verions as shown by dpkg -l command:

$ dpkg -l coreutils 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version             Architecture        Description
+++-=============================-===================-===================-===============================================================
ii  coreutils                     8.21-1ubuntu5.4     amd64               GNU core utilities

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1822269

Title:
  mktemp does not handle  -p option when --tmpdir option goes after -p
  option

Status in coreutils package in Ubuntu:
  New

Bug description:
  #  This is correct.  The printed temp file name is in folder /
  $ mktemp -u --tmpdir -p /
  /tmp.aFd4MwfGDU

  # after swapping the options, mktemp do not handle the -p option correctly.
  # swapping options should not affect the output.
  $ mktemp -u -p / --tmpdir
  /tmp/tmp.FkTPrEsTMs

  This should be a software bug, not relevant to any hardware.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1822269/+subscriptions



More information about the foundations-bugs mailing list