desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Virtual File support doesn't work on bind mount

Open Ziris85 opened this issue 3 years ago • 0 comments

⚠️ Before submitting, please verify the following: ⚠️

Bug description

I understand that Virtual File support on Linux is experimental at this time, but figured I would report this in case anyone else has encountered this before. I have the Nextcloud client installed on my (Manjaro) system and doing Virtual File syncing to just the default Nextcloud folder in my home directory. When I select .nextcloud files from within there, the file is properly fetched and displayed as I would expect. However, I have some bind mounts set up from my Nextcloud folder to other locations in my home directory, and when attempting to open .nextcloud files from those locations, the fetch and display action doesn't seem to work. It appears to start to work since I see the Nextcloud app pop up briefly, but nothing happens after that. The bind mounts I have look like:

/home/user/Nextcloud/Documents  /home/user/Documents    none    defaults,bind   0 0

Steps to reproduce

  1. Set up Nextcloud account with Virtual File support on client
  2. Bind mount directory within Nextcloud folder to another location
  3. Navigate to bind mount directory
  4. Double-click (or otherwise attempt to open) any .nextcloud file within

Expected behavior

Double-clicking the file would have the Nextcloud client fetch and display the file normally.

Which files are affected by this bug

All .nextcloud files

Operating system

Linux

Which version of the operating system you are running.

Manjaro

Package

Distro package manager

Nextcloud Server version

24.0.3

Nextcloud Desktop Client version

3.5.4

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • [X] Default internal user-backend
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs

Nothing logged on server from this.

Additional info

No response

Ziris85 avatar Aug 10 '22 00:08 Ziris85