Flash ubuntu onto TB-RK399ProD

how to flash ubuntu onto TB-RK399ProD? I have ubuntu & macOS PCs.

TB-RK3399ProD can not support ubuntu is. it can support debian or Fedora os.

I just tried flashing the Debian 10 images on my TB-96AI, but it seems that the rootfs is trashed.

sudo refuses to work because /usr/bin/sudo has no SUID bit set and all files in the rootfs seem to have permission 777. There seem to be newer versions of the images on pan.baidu.com but I can’t download it from there, because I really don’t want to download some downloader software from there.

Is that permission problem fixed in the newer image version and if yes, can you upload the new version to the OneDrive, that’s linked on 96Boards?

Current Fedora images seem to have exactly the same problem BTW.
All files within the rootfs.img have their permissions set to 0777.

$ mkdir /tmp/rootfs.mnt
$ sudo mount -o loop rootfs.img /tmp/rootfs.mnt
$ ls -la /tmp/rootfs.mnt/etc
total 2676
drwxrwxrwx 131 root root      12288 Feb 20  2019 .
drwxrwxrwx  11 root root       4096 Aug 28  2019 ..
drwxrwxrwx   3 root root       4096 Dez  8  2018 abrt
-rwxrwxrwx   1 root root         18 Apr 25  2018 adjtime
-rwxrwxrwx   1 root root       1518 Apr 16  2018 aliases
drwxrwxrwx   3 root root       4096 Dez  8  2018 alsa
drwxrwxrwx   2 root root       4096 Mai 24  2019 alternatives