[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sh -c 'whoami' gives permission error in docker container and puts m
From: |
Michael Albinus |
Subject: |
Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell |
Date: |
Thu, 06 Apr 2023 17:29:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
ParetoOptimalDev <pareto.optimal@mailfence.com> writes:
Hi,
> NOTE my tramp directory git status is clean and is at:
>
> 1f8b1ea1 * origin/master * tramp-sh.el
> (tramp-open-connection-setup-interactive-shell): Check for
> `tramp-string-empty-or-nil-p'.
>
> Executing:
>
> emacs -Q --eval "(add-to-list 'load-path (expand-file-name
> \"~/emacs/tramp/lisp\"))" --eval "(setq tramp-verbose 7)" --eval "(let
> ((default-directory \"/docker:root@alpine3173:\")) (eshell))"
>
> Results in ibuffer having:
>
> . * *eshell* 55 Eshell
> /docker:root@alpine3173:~/
> *scratch* 145 Lisp Interaction
> %* *Messages* 836 Messages
> * *debug tramp/cache nil* 148 Outline
> * *debug tramp/docker root@alpine3173* 490401 Outline
> * *tramp/docker root@alpine3173* 130 Fundamental
> %* *Async-native-compile-log* 228 Fundamental
>
> Then typing in chown results in the same error I've been getting:
>
> /docker:root@alpine3173: # chown
> sh: cd: /root/: Permission denied
> ///1ec7868e1f4b55b11fd62deb774f1d05#$
>
> ibuffer looks the same with a lot more logs:
>
> * *eshell* 132 Eshell
> /docker:root@alpine3173:~/
> *scratch* 145 Lisp Interaction
> %* *Messages* 997 Messages
> * *debug tramp/cache nil* 148 Outline
> * *debug tramp/docker root@alpine3173* 826169 Outline
> * *tramp/docker root@alpine3173* 148 Fundamental
> %* *Async-native-compile-log* 228 Fundamental
>
> Here those logs are:
>
> Hopefully this makes it clear I've followed my own steps.
I'm lost. I have applied the same recipe as you, with both native
compilation enabled and disabled in Emacs. No problem.
Which Emacs version do you run, when you call emacs -Q? I have
emacs-version => "30.0.50"
emacs-repository-version => "8678708ad10b17a4609c950a02cf39ab9ff86317"
Best regards, Michael.
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, (continued)
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, Michael Albinus, 2023/04/05
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, ParetoOptimalDev, 2023/04/05
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, Michael Albinus, 2023/04/05
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, ParetoOptimalDev, 2023/04/05
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, Michael Albinus, 2023/04/05
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, ParetoOptimalDev, 2023/04/05
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, ParetoOptimalDev, 2023/04/05
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell,
Michael Albinus <=
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, ParetoOptimalDev, 2023/04/06
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, Michael Albinus, 2023/04/07
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, ParetoOptimalDev, 2023/04/07
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, Michael Albinus, 2023/04/08
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, ParetoOptimalDev, 2023/04/14
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, Michael Albinus, 2023/04/15
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, Michael Albinus, 2023/04/25
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, ParetoOptimalDev, 2023/04/25
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, Michael Albinus, 2023/04/26