[PATCH xinit] Enable support for an xinitrc.d directory
James Cloos
cloos at jhcloos.com
Thu Apr 15 16:50:26 PDT 2010
>>>>> "JH" == Jeremy Huddleston <jeremyhu at freedesktop.org> writes:
JH> Also, does emacs preserve executable permissions on *~ files?
JH> We're checking [ -x "$f" ]
Yes, it (sometimes?) does.
GNU Emacs has two options for making backup files, it can copy the
current file to the backup filename before writing the new contents
over the current file, or it can rename(2) the current file to the
backup name before creating a new inode to contain the new contents.
I beleive XEmacs and several of the tiny emacsen have simimlar opts.
(The semantics of the two options are most relevant for the casese
of NFS filesystems and hard-linked files.)
Whatever settings I have (☺) result in backup files with the same
perms as the originals. (I used to know this stuff, but haven't
(regularly) used NFS for quite some time....)
A quick test of vim shows that, in ':set backup' mode, the backup
file keeps the same perms as the original.
-JimC
--
James Cloos <cloos at jhcloos.com> OpenPGP: 1024D/ED7DAEA6
More information about the xorg-devel
mailing list