[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111551: Minor fix in acl_set_file.
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111551: Minor fix in acl_set_file. |
Date: |
Sat, 19 Jan 2013 09:13:19 +0200 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111551
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2013-01-19 09:13:19 +0200
message:
Minor fix in acl_set_file.
src/w32.c (acl_set_file): Treat ERROR_ACCESS_DENIED from
set_file_security as failure due to insufficient privileges.
Reported by Fabrice Popineau <address@hidden>.
modified:
src/ChangeLog
src/w32.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-01-19 04:44:34 +0000
+++ b/src/ChangeLog 2013-01-19 07:13:19 +0000
@@ -1,3 +1,9 @@
+2013-01-19 Eli Zaretskii <address@hidden>
+
+ * w32.c (acl_set_file): Treat ERROR_ACCESS_DENIED from
+ set_file_security as failure due to insufficient privileges.
+ Reported by Fabrice Popineau <address@hidden>.
+
2013-01-19 Paul Eggert <address@hidden>
Work around bug in CIFS and vboxsf file systems (Bug#13149).
=== modified file 'src/w32.c'
--- a/src/w32.c 2013-01-09 15:07:01 +0000
+++ b/src/w32.c 2013-01-19 07:13:19 +0000
@@ -4875,7 +4875,8 @@
retval = 0;
errno = e;
}
- else if (err == ERROR_INVALID_OWNER || err == ERROR_NOT_ALL_ASSIGNED)
+ else if (err == ERROR_INVALID_OWNER || err == ERROR_NOT_ALL_ASSIGNED
+ || err == ERROR_ACCESS_DENIED)
{
/* Maybe the requested ACL and the one the file already has are
identical, in which case we can silently ignore the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111551: Minor fix in acl_set_file.,
Eli Zaretskii <=