GNU Emacs 20: desktop.el security weakness?
This is from the end of desktop-save in desktop.el:
(if (file-exists-p filename) (delete-file filename))
(write-region (point-min) (point-max) filename nil 'nomessage)))
IOW emacs always recreates the desktop file from scratch. This seems
to have the unpleasant side-effect that it is made world-readable with
each save (unless blocked by umask, but most people's umask is not
that paranoid). Does anyone else agree that this might be a problem?
Simply removing the first line should fix it ...
--
Ian Zimmerman, Oakland, California, U.S.A.
GPG: 433BA087 9C0F 194F 203A 63F7 B1B8 6E5A 8CA3 27DB 433B A087
EngSoc adopts market economy: cheap is wasteful, efficient is expensive.
Reply to: