From: akater <nuclearspace@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: TRAMP and umask (and git)
Date: Sat, 11 Sep 2021 13:56:16 +0000 [thread overview]
Message-ID: <878s03qkqn.fsf@gmail.com> (raw)
In-Reply-To: <87h7g0rmrl.fsf@gmx.de>
Michael Albinus <michael.albinus@gmx.de> writes:
> sudo requires an additional "-i" argument in order to to run the shell
> as login shell, reading ~/.profile. So you must teach the "sudo" entry
> in tramp-methods to add this argument, via tramp-login-args.
I've had it for some time (I wonder why it's not built-in), and tried it
but it didn't work for this particular user. I ended up used a
workaround but thank you anyway. At least I now know it's possible to
use different umasks from a single Emacs process.
prev parent reply other threads:[~2021-09-11 13:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-07 18:30 TRAMP and umask (and git) akater
2021-08-08 15:15 ` Michael Albinus
2021-08-08 16:23 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-11 13:56 ` akater [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878s03qkqn.fsf@gmail.com \
--to=nuclearspace@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael.albinus@gmx.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.