[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] user_namespaces.7: Document pitfall with negative permis
From: |
Richard Weinberger |
Subject: |
Re: [PATCH 2/3] user_namespaces.7: Document pitfall with negative permissions and user namespaces |
Date: |
Tue, 29 Aug 2023 23:40:13 +0200 (CEST) |
----- Ursprüngliche Mail -----
> Von: "Alejandro Colomar" <alx@kernel.org>
>> uid=1000(alx) gid=1000(alx)
>> groups=1000(alx),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),108(netdev),115(lpadmin),118(scanner)
>> $ unshare ‐S 0 ‐G 0 ‐‐map‐users=100000,0,65536 ‐‐map‐groups=100000,0,65536 id
>> unshare: failed to execute ‐S: No such file or directory
>
> Ahh, now I see it. You should use \- to produce pastable ASCII 0x2D.
Sorry for that. My troff fu is weak. :-)
Thanks,
//richard
[PATCH 3/3] man: Document pitfall with negative permissions and user namespaces, Richard Weinberger, 2023/08/29