Hi, uutils mainteners
we confirmed that the chroot utility when a file larger, it reports no such directory, the actual issue is the file longer longer not is not a directory
relunsec@relunsec:~/software/coreutils/target/debug$ gnuchroot $(python3 -c 'print("A"*256)')
gnuchroot: cannot change root directory to 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': File name too long
relunsec@relunsec:~/software/coreutils/target/debug$ ./chroot $(python3 -c 'print("A"*256)')
chroot: cannot change root directory to 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': no such directory
relunsec@relunsec:~/software/coreutils/target/debug$
Hi, uutils mainteners
we confirmed that the chroot utility when a file larger, it reports no such directory, the actual issue is the file longer longer not is not a directory