On Mon Feb 13, 2023 at 12:14 PM CET, Dominique Martinet wrote:
>
> b4adb3ccf49f:/task/output/files$ id
> uid=2001(setup) gid=2000(project) groups=2000(project),2000(project)
> b4adb3ccf49f:/task/output/files$ ls -lad . .. cnb_rate_eur_czk.csv 
> drwxr-xr-x    1 root     root            40 Feb 13 11:08 .
> drwxrwx---    1 setup    project         10 Feb 13 11:07 ..
> -rw-r--r--    1 task     project          4 Feb 13 11:01 cnb_rate_eur_czk.csv
> b4adb3ccf49f:/task/output/files$ busybox | head -n 1
> BusyBox v1.35.0 (2022-11-19 10:13:10 UTC) multi-call binary.
> b4adb3ccf49f:/task/output/files$ [ -r cnb_rate_eur_czk.csv ] && echo READABLE
> READABLE
> b4adb3ccf49f:/task/output/files$ [[ -r cnb_rate_eur_czk.csv ]] && echo 
> READABLE
> READABLE
> b4adb3ccf49f:/task/output/files$ /usr/bin/[ -r cnb_rate_eur_czk.csv ] && echo 
> READABLE
> READABLE
> b4adb3ccf49f:/task/output/files$ cat /etc/alpine-release 
> 3.17.2

this doesn't seem like accurate reproduction-
the . directory is not '770' like originally.

nevertheless, i can't reproduce this on any alpine version with the same
directory layout in a container, so indeed, "strace or it didn't happen" is
accurate.

the container build output curiously has a "bash" in the list of packages
installed- so i tried running this from inside bash in case the bash builtins
for this were broken- no difference.

>
> -- 
> Dominique
> _______________________________________________
> busybox mailing list
> [email protected]
> http://lists.busybox.net/mailman/listinfo/busybox

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to