We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating files with long filenames works identical within PROOT and in the outside world
$ LEN=255; touch "$(expr substr "$(seq 1 200|tr -d "\n")" 1 $LEN)"; rm -f 12345*
... shows no error
# LEN=255; touch "$(expr substr "$(seq 1 200|tr -d "\n")" 1 $LEN)"; rm -f 12345*
... should not show an error, too
$ LEN=255; touch "$(expr substr "$(seq 1 200|tr -d "\n")" 1 $LEN)"; rm -f 12345* $ LEN=256; touch "$(expr substr "$(seq 1 200|tr -d "\n")" 1 $LEN)"; rm -f 12345* touch: '1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757
In the outside world, I can create files with a name len of 255.
# LEN=254; touch "$(expr substr "$(seq 1 200|tr -d "\n")" 1 $LEN)"; rm -f 12345* # LEN=255; touch "$(expr substr "$(seq 1 200|tr -d "\n")" 1 $LEN)"; rm -f 12345* touch: cannot touch '123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
Within PROOT, I cannot create files with a name len of 255.
proot -S jammy/rootfs/ -w / bash
LEN=255; touch "$(expr substr "$(seq 1 200|tr -d "\n")" 1 $LEN)"
# LEN=255; touch "$(expr substr "$(seq 1 200|tr -d "\n")" 1 $LEN)"; touch: cannot touch '123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121': File name too long
The text was updated successfully, but these errors were encountered:
I tried creating the long filename within a bind mounted folder. Doesn't work either.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Expected Behavior
Creating files with long filenames works identical within PROOT and in the outside world
Outside
... shows no error
Within PROOT
... should not show an error, too
Actual Behavior
Outside
In the outside world, I can create files with a name len of 255.
Within PROOT
Within PROOT, I cannot create files with a name len of 255.
Steps to Reproduce the Problem
proot -S jammy/rootfs/ -w / bash
LEN=255; touch "$(expr substr "$(seq 1 200|tr -d "\n")" 1 $LEN)"
Specifications
Command Output
The text was updated successfully, but these errors were encountered: