[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tempfile(1) in "(coreutils) shred invocation"

From: Eric Blake
Subject: Re: tempfile(1) in "(coreutils) shred invocation"
Date: Fri, 12 Mar 2010 20:51:59 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3

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   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]