You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Termux share intent for a file, that file is truncated to zero bytes, and is not copied to ~/downloads, if the directory is a symlink to shared storage (e.g. storage/shared/example).
I only initially noticed the issue because I don't have a particular purpose to have a dedicated app data directory for file sharing, and just symlinked it to Downloads, thinking it wouldn't cause problems.
Problem description
When using the Termux share intent for a file, that file is truncated to zero bytes, and is not copied to
~/downloads
, if the directory is a symlink to shared storage (e.g.storage/shared/example
).I only initially noticed the issue because I don't have a particular purpose to have a dedicated app data directory for file sharing, and just symlinked it to Downloads, thinking it wouldn't cause problems.
Steps to reproduce the behavior.
termux-setup-storage && rmdir downloads && ln -s storage/downloads downloads
What is the expected behavior?
If the file doesn't already exist, copy it to the destination (even if cross-device) and perform the chosen action (edit etc.)
System information
The text was updated successfully, but these errors were encountered: