On 03/12/2010 08:15 PM, Thien-Thi Nguyen wrote:
> Should coreutils docs mention tempfile(1),
> which is AFAICT not in coreutils?
> 
> Is there a coreutils-only way to effect "tempfile -m 0600"?

Seems like it might be a reasonable thing to add to mktemp(1).  But
mktemp already generates 0600 by default.

> 
> This came up in the context of studying:
> <http://git.debian.org/?p=users/rfrancoise/rcs.git;a=blob;f=debian/patches/0004-Security-fixes.patch;h=cb7347d626e1a4593ac492066953988c81659119;hb=ac72d03ca695649ad311a295246595ab0e5e489e>
> 
> for integration into GNU RCS.  It seems that tempfile(1) is Debian-specific.

What does tempfile(1) do that mktemp(1) does not?

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to