[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master de0b7af169: Fix logic error in Tramp, setting file ownership
From: |
Michael Albinus |
Subject: |
master de0b7af169: Fix logic error in Tramp, setting file ownership |
Date: |
Fri, 24 Jun 2022 11:18:29 -0400 (EDT) |
branch: master
commit de0b7af169345442852622bb337483398c583a9e
Author: Platon Pronko <platon7pronko@gmail.com>
Commit: Michael Albinus <michael.albinus@gmx.de>
Fix logic error in Tramp, setting file ownership
* lisp/net/tramp.el (tramp-skeleton-write-region): Fix logic in
changing file ownership. (Bug#56180)
Copyright-paperwork-exempt: yes
---
lisp/net/tramp.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 59a2710e00..c6665c2792 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -3462,8 +3462,8 @@ BODY is the backend specific code."
;; `file-precious-flag' is set.
(or (file-attribute-modification-time file-attr)
(current-time)))
- (unless (and (= (file-attribute-user-id file-attr) uid)
- (= (file-attribute-group-id file-attr) gid))
+ (when (and (= (file-attribute-user-id file-attr) uid)
+ (= (file-attribute-group-id file-attr) gid))
(setq need-chown nil))))
;; Set the ownership.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master de0b7af169: Fix logic error in Tramp, setting file ownership,
Michael Albinus <=