Skip to content
New issue

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

Symlinks not working #556

Open
2 tasks done
maxpat78 opened this issue Oct 26, 2024 · 0 comments
Open
2 tasks done

Symlinks not working #556

maxpat78 opened this issue Oct 26, 2024 · 0 comments
Labels
type:bug Something isn't working

Comments

@maxpat78
Copy link

maxpat78 commented Oct 26, 2024

Please agree to the following

Summary

A symlink to a file is always seen as a directory (symlink to directory works fine).

System Setup

- Android: 13
- Cryptomator: 1.10.3
- Xiaomi Redmi Note 11 phone (HyperOS 1.0.3)

Cloud Type

Google Drive

Steps to Reproduce

  1. With Linux ln, make a symbolic link to a file in the vault (V8 format, Cryptomator Windows 1.14), using either an absolute or relative target pathname;
  2. Access the vault in Google Drive from CM Android;
  3. CM sees all symbolic links as directories and linked files can't get accessed.

Expected Behavior

CM Android distinguishes between symbolic link to files and symbolic links to dirs, just like Windows or Linux Desktop version; mklink in Windows can work

Actual Behavior

CM Android does not display symlinked files as such, but as directories; mklink in Windows can't create symlinks due to an unknwon device I/O error.

Reproducibility

Always

Relevant Log Output

-

Anything else?

Created symlinks inside the vault work fine both in Linux and Windows.

04/11/24 UPDATE: symlinks to directories does not work properly, too: in fact, CM Android requires a dir.c9r file in the symlink directory (where symlink.c9r file resides), but this is not required by Desktop editions, whose sanity check signals such situation as an error ("ambiguity" between symlink/directory). Discovered while developing my pycryptomator app - putting a dir.c9r file in the symlink directory by hand let CM Android interpret and resolve correctly the symlink to the target directory, but this is not the expected behavior!

@maxpat78 maxpat78 added the type:bug Something isn't working label Oct 26, 2024
@maxpat78 maxpat78 changed the title Symlinks to files not working Symlinks not working Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant