| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -158,7 +158,7 @@ public void copyFileWithUIDGID() throws Exception { | |||
| 158 | 158 | Path without = Files.createFile(Files.createTempDirectory("copyFileWithUIDGID").resolve("uidgid.without")); | |
| 159 | 159 | Files.write(without, "with".getBytes()); | |
| 160 | 160 | ||
| 161 | - String containerCmd = "while [ ! -f /home/uidgid.with ]; do true; done && stat -c %n:%u /home/uidgid.with /home/uidgid.without"; | ||
| 161 | + String containerCmd = "while [ ! -f /home/uidgid.with ]; do true; done && id && stat -c %n:%u /home/uidgid.with /home/uidgid.without"; | ||
| 162 | 162 | CreateContainerResponse container = dockerRule.getClient().createContainerCmd("busybox") | |
| 163 | 163 | .withName("copyFileWithUIDGID") | |
| 164 | 164 | .withCmd("/bin/sh", "-c", containerCmd) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments