[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13125: Fix permissions bugs with setgid directories etc.
From: |
Paul Eggert |
Subject: |
bug#13125: Fix permissions bugs with setgid directories etc. |
Date: |
Sun, 09 Dec 2012 00:56:48 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 12/09/2012 12:32 AM, Michael Albinus wrote:
> the change must be backwards compatible for older
> Emacs versions as well as for XEmacs
Thanks for mentioning that.
The following further patch should suffice:
=== modified file 'lisp/net/tramp-sh.el'
--- lisp/net/tramp-sh.el 2012-12-09 00:50:02 +0000
+++ lisp/net/tramp-sh.el 2012-12-09 08:53:55 +0000
@@ -5024,8 +5024,8 @@
(if (equal id-format 'integer) (user-uid) (user-login-name)))
(defun tramp-get-local-gid (id-format)
- (if (equal id-format 'integer)
- (group-gid)
+ (if (and (fboundp 'group-gid) (equal id-format 'integer))
+ (tramp-compat-funcall 'group-gid)
(nth 3 (tramp-compat-file-attributes "~/" id-format))))
;; Some predefined connection properties.
bug#13125: Fix permissions bugs with setgid directories etc., Michael Albinus, 2012/12/09
- bug#13125: Fix permissions bugs with setgid directories etc.,
Paul Eggert <=
bug#13125: Fix permissions bugs with setgid directories etc., Wolfgang Jenkner, 2012/12/09