Cathy icon indicating copy to clipboard operation
Cathy copied to clipboard

Recursive directory structure not detected

Open superian opened this issue 2 years ago • 0 comments

If there is a recursive directory structure, where /somewhere/link is a link to /somewhere, then scanning either never completes or - presumably if you are patient enough - crashes when some limit (on the path length or for memory to store the results or..) is reached.

WINE uses this to present your files as though they were on Windows drives, so that

~/.wine/dosdevices/z:

is linked to / so that the whole directory structure appears to Windows programs as being on the Z: drive. Similar links are set up so that files in the user's home directory appear to be on C: etc.

This means that going to /home/user/.wine/dosdevices/z: gets you to / and after a few more directories are entered, back to /home/user/.wine/dosdevices/z: where the process is repeated ad infinitum.

superian avatar Oct 30 '22 14:10 superian