aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2011-03-11 14:19:08 +0200
committerEli Zaretskii2011-03-11 14:19:08 +0200
commit2920e68d73e0009f368e817207964efaff751f85 (patch)
tree26c29a20149fc8539acb28ee9237310e311d9c04 /lisp/ChangeLog
parent69cc79e9e067543c5b20adcea1d756f1dd9569dc (diff)
downloademacs-2920e68d73e0009f368e817207964efaff751f85.tar.gz
emacs-2920e68d73e0009f368e817207964efaff751f85.zip
Fix comparisons of file ownership on MS-Windows for the Administrator user.
lisp/files.el (file-ownership-preserved-p): Pass `integer' as an explicit 2nd argument to `file-attributes'. If the file's owner is the Administrators group on Windows, and the current user is Administrator, consider that a match. lisp/server.el (server-ensure-safe-dir): Consider server directory safe on MS-Windows if its owner is the Administrators group while the current Emacs user is Administrator. Use `=' to compare numerical UIDs, since they could be integers or floats.
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1b8a7641b35..6685e355360 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,15 @@
12011-03-11 Eli Zaretskii <eliz@gnu.org>
2
3 * files.el (file-ownership-preserved-p): Pass `integer' as an
4 explicit 2nd argument to `file-attributes'. If the file's owner
5 is the Administrators group on Windows, and the current user is
6 Administrator, consider that a match.
7
8 * server.el (server-ensure-safe-dir): Consider server directory
9 safe on MS-Windows if its owner is the Administrators group while
10 the current Emacs user is Administrator. Use `=' to compare
11 numerical UIDs, since they could be integers or floats.
12
12011-03-07 Chong Yidong <cyd@stupidchicken.com> 132011-03-07 Chong Yidong <cyd@stupidchicken.com>
2 14
3 * Version 23.3 released. 15 * Version 23.3 released.