Commit 94dffca
authored
cmd/snap-update-ns: ensure that a /tmp/.X11-unix created inside the mount ns has expected permissions (#17001)
The /tmp/.X11-unix target path created inside the snap's mount ns is
hidden when the mount added by the x11 interface is executed. However,
to keep things consistent we should ensure that it is created with a
reasonable mode, which matches what a typical /tmp/.X11-unix directory
would have.
Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>1 parent d84a50b commit 94dffca
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
0 commit comments