[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: |
ParetoOptimalDev |
Subject: |
Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell |
Date: |
Wed, 05 Apr 2023 09:33:17 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
ParetoOptimalDev <pareto.optimal@mailfence.com> writes:
> Specifying the root user I have an even more interesting issue:
>
> ```
> emacs -Q
>
> C-x C-f /docker:root@alpine3173: RET
>
> M-x eshell
>
> Welcome to the Emacs shell
>
> /docker:root@alpine3173:~ # whoami
> root
> /docker:root@alpine3173:~ # sh
> ‘echo \"`uname -sr`\"’ does not return a valid Lisp expression: ‘sh: uname:
> command not found
> ""
> ’
> ```
I've attached a trace for this one.
txtOcpjWTEdAe.txt
Description: trace for root user connecting to tramp and executing command sh
Also, attached the tramp log with tramp-verbose at 11.
txtnwlxZdLJaX.txt
Description: tramp log verbose level 11 for root user connecting to tramp and executing command sh
>From those tramp logs I saw something that looked like it could be an
issue, but maybe it's harmless:
```
/bin/sh: set: illegal option +o emacs.
///d7a490935d9ccac4bbd00c51c4cb863b#$.[6n
```
Hopefully this is enough information and I've accurately described
what's happening.
- 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, ParetoOptimalDev, 2023/04/03
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, Michael Albinus, 2023/04/04
- Re: sh -c 'whoami' gives permission error in docker container and puts me in weird prompt/subshell, ParetoOptimalDev, 2023/04/04
- 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 <=
- 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, 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, 2023/04/06