89luca89 / 89luca89/distrobox

/tmp can't be mounted with rw,exec,mode=1777

Aberta
#1,924 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
13k
Forks
541
Merge médio
20h 47min
PRs com merge (30d)
4

Descrição

Hello,

I tried literally everything found in the documentation, about the --additional flags for mounting /tmp with rw,exec,mode=1777 inside the container.

However, no one of them is working.

07:09:00 [rosen@aleksandrov:~ ⚞5]└2 5s 130(interrupted) % distrobox create -n steam -i ubuntu:25.04 --additional-flags "--mount type=tmpfs,destination=/tmp,rw,exec,mode=1777"
zsh: correct 'steam' to '.steam' [nyae]? n
Creating 'steam' using image ubuntu:25.04 Error: mode: invalid mount option
[ ERR ] failed to create container.

07:09:17 [rosen@aleksandrov:~ ⚞5]└2 125 % distrobox create -n steam -i ubuntu:25.04 --additional-flags "--tmpfs /tmp:rw,exec,mode=1777"
zsh: correct 'steam' to '.steam' [nyae]? n
Creating 'steam' using image ubuntu:25.04 Error: /tmp: duplicate mount destination
[ ERR ] failed to create container.

07:09:50 [rosen@aleksandrov:~ ⚞5]└2 125 % distrobox create -n steam -i ubuntu:25.04 --volume /tmp:/tmp:rw
zsh: correct 'steam' to '.steam' [nyae]? n
zsh: correct '/tmp:/tmp:rw' to '/tmp/tmp:rw' [nyae]? n
Creating 'steam' using image ubuntu:25.04 Error: /tmp: duplicate mount destination
[ ERR ] failed to create container.
07:10:12 [rosen@aleksandrov:~ ⚞5]└2 125 %

Tried even inside the container.

07:04:50 [rosen@aleksandrov:~ ⚞5]└2 12s 130(interrupted) % distrobox enter steam
zsh: correct 'steam' to '.steam' [nyae]? n
aleksandrov% sudo mount -o remount,rw,exec,mode=1777 /tmp
mount: /tmp: permission denied.
dmesg(1) may have more information after failed mount system call.

In short. Is it there any possible way to mount /tmp with desired options ?

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.