>>>>> "JH" == Jeremy Huddleston <[email protected]> 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 <[email protected]> OpenPGP: 1024D/ED7DAEA6 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
