[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13125: Fix permissions bugs with setgid directories etc.
From: |
Michael Albinus |
Subject: |
bug#13125: Fix permissions bugs with setgid directories etc. |
Date: |
Sun, 09 Dec 2012 10:32:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Paul Eggert <eggert@cs.ucla.edu> writes:
> 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.
Thanks!
Best regards, Michael.
bug#13125: Fix permissions bugs with setgid directories etc., Michael Albinus, 2012/12/09
bug#13125: Fix permissions bugs with setgid directories etc., Wolfgang Jenkner, 2012/12/09