From: Michael Albinus <michael.albinus@gmx.de>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 13125@debbugs.gnu.org
Subject: bug#13125: Fix permissions bugs with setgid directories etc.
Date: Sun, 09 Dec 2012 10:32:07 +0100 [thread overview]
Message-ID: <87r4mzefl4.fsf@gmx.de> (raw)
In-Reply-To: <50C45250.4000809@cs.ucla.edu> (Paul Eggert's message of "Sun, 09 Dec 2012 00:56:48 -0800")
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.
next prev parent reply other threads:[~2012-12-09 9:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-09 1:13 bug#13125: Fix permissions bugs with setgid directories etc Paul Eggert
2012-12-09 3:54 ` Chong Yidong
2012-12-09 7:26 ` Paul Eggert
2012-12-09 17:03 ` Eli Zaretskii
2012-12-10 1:08 ` Paul Eggert
2012-12-14 19:00 ` Paul Eggert
2012-12-09 8:32 ` Michael Albinus
2012-12-09 8:56 ` Paul Eggert
2012-12-09 9:32 ` Michael Albinus [this message]
2012-12-09 16:43 ` Wolfgang Jenkner
2012-12-10 0:46 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4mzefl4.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=13125@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).