binpash / binpash/try

proc mounted with wrong permission

Open
#151 1 comment 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Shell
Stars
5.5k
Forks
81
Avg merge
1m
Merged PRs (30d)
1

Description

`dr-xr-xr-x 235 nobody root 0 Mar 16 01:50 proc`
from #138

currently, we're using `mount -t proc proc /proc`

Attempted solution
```
unshare --mount --map-root-user --pid --fork /bin/bash
mkdir proc
mount -t proc -o uid=0,gid=0 none proc
```
but we get
`mount: a: wrong fs type, bad option, bad superblock on none, missing codepage or helper program, or other error.`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.