[Bug 1822269] [NEW] mktemp does not handle -p option when --tmpdir option goes after -p option
Robin Hsu
1822269 at bugs.launchpad.net
Fri Mar 29 09:36:55 UTC 2019
Public bug reported:
# 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.
** Affects: coreutils (Ubuntu)
Importance: Undecided
Status: New
--
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