``` $ mkdir -p $(python3 -c 'print("./" + "a/" * 32768)') mkdir: File name too long $ rm -rf a # fails with Directory not empty. gnu is OK ```
Activity
collinfunk commentedon Dec 22, 2025
Duplicate of #2949; a commenter there is correct, this is required by POSIX.
It is quite important, IMO. If
rmdoesn't support arbitrarily long paths, you will have no way to clean them up.