Preventing temporary files?

Werner Koch wk at gnupg.org
Thu Mar 10 11:29:46 CET 2005


On Wed, 9 Mar 2005 21:14:40 -0700, Joseph Bruni said:

> themselves such as that provided by flock() for the BSD unixes and
> lockf() for the SVR4 unixes? Was this for portability reasons?

Yes, this is a portability issue.  A lock file is the only way to take
a lock in a portable way independed of the file system.  In general it
also work with remotely mounted file systems accessed by different
types of OSes.


Salam-Shalom,

   Werner




More information about the Gnupg-users mailing list