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

Can't copy and overwrite from external storage #12445

Closed
joekerna opened this issue Nov 14, 2018 · 6 comments
Closed

Can't copy and overwrite from external storage #12445

joekerna opened this issue Nov 14, 2018 · 6 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: external storage

Comments

@joekerna
Copy link

joekerna commented Nov 14, 2018

Steps to reproduce

  1. Mount local directory as external storage
  2. Try to copy file from external storage to local storage that already exists

Expected behaviour

Nextcloud should ask if I want to replace the existing file like it does for local-local copy

Actual behaviour

Copying files that don't already exists works fine. When trying to overwrite a file I get the following error message:

Could not copy “filename.zip”, target exists

Server configuration

Operating system: Ubuntu 18.04

Web server: Nginx (latest mainline)

Database: MySQL

PHP version: 7.2.63

Nextcloud version: (see Nextcloud admin page) 14.0.3

Updated from an older Nextcloud/ownCloud or fresh install: Update

Where did you install Nextcloud from: Nextcloud website

Are you using external storage, if yes which one: local

Are you using encryption: no

Client configuration

Browser: Firefox 63

Operating system: osX, Windows 10

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #11121 (can't show local in External storages), #10547 (Cannot restore deleted files saved on external storage), #11546 (Why a shared folder cannot be moved from/to external storage), #9699 (Can't set external storage), and #6598 (Can't share files on CIFS external storage).

@joekerna
Copy link
Author

It doesn't seem to be a rights issue on the local storage. I've created a file with rights 777 and the issue is still there.

@Brianetta
Copy link

Confirming this issue; I've been having to delete the file from the target folder as a work-around since at least version 13.

@skjnldsv skjnldsv added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Jun 12, 2019
@skjnldsv
Copy link
Member

This comes from #5596
And is fixed by #14691

It's because you cannot change or move a mount point. Aka external storage or shared root.

@Brianetta
Copy link

image
Not fixed in 16.0.2

@joekerna
Copy link
Author

I can confirm. It is not fixed in 16.0.3. Please reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: external storage
Projects
None yet
Development

No branches or pull requests

4 participants