|
|
|
|
|
by mdaniel
460 days ago
|
|
> I see you're not aware of `mknod`? Try harder, friend, those require granted capabilities $ PAGER=cat man 7 capabilities | grep -C1 MKNOD
CAP_MKNOD (since Linux 2.4)
Create special files using mknod(2).
$ docker run --rm -it public.ecr.aws/docker/library/ubuntu:24.04 /usr/bin/mknod fred b 252 4
/usr/bin/mknod: fred: Operation not permitted
|
|