1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00
emacs/doc
Romain Francoise 7c3d167f48 Add support for preserving ACL entries of files.
* configure.ac (acl): New option.
	(HAVE_POSIX_ACL): Test for POSIX ACL support.  This is typically
	provided by libacl on GNU/Linux.

	* fileio.c (Ffile_acl, Fset_file_acl): New functions.
	(Fcopy_file): Change last arg to `preserve_extended_attributes'
	and copy ACL entries of file in addition to SELinux context if
	set.
	(syms_of_fileio): Add `file-acl' and `set-file-acl'.

	* Makefile.in (LIBACL_LIBS): New macro.
	(LIBES): Use it.

	* files.el (file-extended-attributes)
	(set-file-extended-attributes): New functions.
	(backup-buffer): Use them to handle both SELinux context and ACL
	entries.
	(backup-buffer-copy): Work with an alist of extended attributes,
	rather than an SELinux context.
	(basic-save-buffer-2): Ditto.

	* files.texi (File Attributes): Document ACL support and new
	`file-acl' function.
	(Changing Files): Mention argument name change of `copy-file' and
	document new function `set-file-acl'.
2012-12-16 19:22:27 +01:00
..
emacs * doc/emacs/misc.texi (Recursive Edit): Add a link to "Query Replace". 2012-12-15 14:10:12 +02:00
lispintro Fix permissions bugs with setgid directories etc. 2012-12-14 10:59:00 -08:00
lispref Add support for preserving ACL entries of files. 2012-12-16 19:22:27 +01:00
man * lib-src/etags.c (Lisp_functions): Skip (defvar foo) declarations 2012-12-02 09:47:56 +08:00
misc * calc/calc.el (calc-standard-date-formats): Adjust one of the 2012-12-15 20:52:11 -06:00