[Bug 589408] Re: mktemp can't create a file with a suffix/file extension
coreutils (8.5-1ubuntu1) has been released on Maverick, with support for '--suffix=', which addresses this bug: cer...@xango2:/build/buildd/uec/uec-testing-scripts$ /bin/mktemp --help Usage: /bin/mktemp [OPTION]... [TEMPLATE] Create a temporary file or directory, safely, and print its name. TEMPLATE must contain at least 3 consecutive `X's in last component. If TEMPLATE is not specified, use tmp.XX, and --tmpdir is implied. -d, --directory create a directory, not a file -u, --dry-run do not create anything; merely print a name (unsafe) -q, --quiet suppress diagnostics about file/dir-creation failure --suffix=SUFF append SUFF to TEMPLATE. SUFF must not contain slash. This option is implied if TEMPLATE does not end in X. --tmpdir[=DIR] interpret TEMPLATE relative to DIR. If DIR is not specified, use $TMPDIR if set, else /tmp. With this option, TEMPLATE must not be an absolute name. Unlike with -t, TEMPLATE may contain slashes, but mktemp creates only the final component -p DIR use DIR as a prefix; implies -t [deprecated] -t interpret TEMPLATE as a single file name component, relative to a directory: $TMPDIR, if set; else the directory specified via -p; else /tmp [deprecated] --help display this help and exit --version output version information and exit Report mktemp bugs to bug-coreut...@gnu.org GNU coreutils home page: http://www.gnu.org/software/coreutils/ General help using GNU software: http://www.gnu.org/gethelp/ For complete documentation, run: info coreutils 'mktemp invocation' cer...@xango2:/build/buildd/uec/uec-testing-scripts$ ** Changed in: coreutils (Ubuntu) Status: Triaged = Fix Released -- mktemp can't create a file with a suffix/file extension https://bugs.launchpad.net/bugs/589408 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 589408] Re: mktemp can't create a file with a suffix/file extension
On Fri, 4 Jun 2010, C de-Avillez wrote: Here I go having spelled the problem character by character to make the real problem clear. You might want to consider doing that on your next bugs as well -- both spelling the problem character by character, and giving the bug a nice title. We would not have lost that much time if you had done so from the beginning. Thanks, very cool! So the logical next step would seem to be to flag the real problem as such (Wishlist) in order for it to be fixed. However users can't do that in Ubuntu. Would you mind fixing this problem that exists for real? Not at all, considering the suffix problem that indeed exists (and not a prefix problem that did not). Set to triaged/Medium. Frankly, I do not see it as WishList, if the suffix functionality was available on the previous incarnation of 'mktemp'. Unfortunately I rechecked (I installed the old mktemp tool from Debian) and it wasn *not* able to create files with suffixes either. Even worse, it would create the file XX.bla as such without replacing the 'X'es without complaining. The fix should be available for Maverick when we sync coreutils from Debian. If you need it in a previous version, please nominate accordingly, and *give a strong reason of why it is needed*. This fix will, then, be considered for a SRU (Stable Release Update). Considering the above I think releasing Maverick synched to Debian's coreutils is fine. Thanks again, *t -- mktemp can't create a file with a suffix/file extension https://bugs.launchpad.net/bugs/589408 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 589408] Re: mktemp can't create a file with a suffix/file extension
** Summary changed: - mktemp seems to need a prefixed template to work + mktemp can't create a file with a suffix/file extension -- mktemp can't create a file with a suffix/file extension https://bugs.launchpad.net/bugs/589408 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 589408] Re: mktemp can't create a file with a suffix/file extension
Please give a reason for a status change. A question -- what sounds like one, at least -- is not a reason. Changed the title accordingly, to express the actual problem. The point being: 1. one needs to be able to create temporary files that have a filename extensions/suffixes, since most of todays Gnome/KDE GUI programms expect files to have filename extensions 2. mktemp can't do filename extensions 3. the error message being displayed, when using tryng to create files with fileextension is wrong. 4. the manpage doesn't say *anything* about how TEMPLATES should or should not look like and the info page is missing 5. AFAIK the previous separate mktemp (from OpenBSD I think) worked as expected, so that would be a regression 6. coreutils 8.5 fixes the problem Here I go having spelled the problem character by character to make the real problem clear. So the logical next step would seem to be to flag the real problem as such (Wishlist) in order for it to be fixed. However users can't do that in Ubuntu. Would you mind fixing this problem that exists for real? -- mktemp can't create a file with a suffix/file extension https://bugs.launchpad.net/bugs/589408 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 589408] Re: mktemp can't create a file with a suffix/file extension
Here I go having spelled the problem character by character to make the real problem clear. You might want to consider doing that on your next bugs as well -- both spelling the problem character by character, and giving the bug a nice title. We would not have lost that much time if you had done so from the beginning. So the logical next step would seem to be to flag the real problem as such (Wishlist) in order for it to be fixed. However users can't do that in Ubuntu. Would you mind fixing this problem that exists for real? Not at all, considering the suffix problem that indeed exists (and not a prefix problem that did not). Set to triaged/Medium. Frankly, I do not see it as WishList, if the suffix functionality was available on the previous incarnation of 'mktemp'. The fix should be available for Maverick when we sync coreutils from Debian. If you need it in a previous version, please nominate accordingly, and *give a strong reason of why it is needed*. This fix will, then, be considered for a SRU (Stable Release Update). ** Changed in: coreutils (Ubuntu) Importance: Low = Medium ** Changed in: coreutils (Ubuntu) Status: Invalid = Triaged -- mktemp can't create a file with a suffix/file extension https://bugs.launchpad.net/bugs/589408 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs