-
Notifications
You must be signed in to change notification settings - Fork 188
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
COPY a folder
to received share file/folder
seems to work but no change in shares - lost share mountpoint in me/drives
#6999
Comments
Related issues : #3874 and #4393 may be we can close |
Sorry, I couldn't reproduce it. Is My request:
|
Sorry pasted api request where i try to copy |
I don't know how realistic it is to move a file to a shared mount point. I get 502 Error <s:message>gateway does not support cross storage move, use copy and delete</s:message> and shared folder moves to decline. I'm interested in the same case(not realistic but) with project space that leads to data loss Steps:
result: 500 error and no project space for users |
probably same issue like: #6739 |
Yes, thank you |
like in #6739 |
The behavior is the same for copying a folder into a file using the webdav as well but in webdav we get Here I'm copying a folder curl -X COPY -u einstein:relativity 'https://localhost:9200/remote.php/webdav/adad' -H "Destination: https://localhost:9200/remote.php/webdav/Shares/test.txt" -vk response
* Trying 127.0.0.1:9200...
* Connected to localhost (127.0.0.1) port 9200 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: O=Acme Corp; CN=OCIS
* start date: Aug 21 10:03:10 2023 GMT
* expire date: Aug 20 10:03:10 2024 GMT
* issuer: O=Acme Corp; CN=OCIS
* SSL certificate verify result: self-signed certificate (18), continuing anyway.
* Server auth using Basic with user 'einstein'
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> COPY /remote.php/webdav/adad HTTP/1.1
> Host: localhost:9200
> Authorization: Basic ZWluc3RlaW46cmVsYXRpdml0eQ==
> User-Agent: curl/7.81.0
> Accept: */*
> Destination: https://localhost:9200/remote.php/webdav/Shares/test.txt
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Mark bundle as not supporting multiuse
< HTTP/1.1 204 No Content
< Access-Control-Allow-Origin: *
< Content-Security-Policy: default-src 'none';
< Date: Mon, 21 Aug 2023 10:27:05 GMT
< Vary: Origin
< X-Content-Type-Options: nosniff
< X-Download-Options: noopen
< X-Frame-Options: SAMEORIGIN
< X-Permitted-Cross-Domain-Policies: none
< X-Request-Id: swikriti-OptiPlex-3070/rLnTbi8eJa-002326
< X-Robots-Tag: none
< X-Xss-Protection: 1; mode=block
<
* Connection #0 to host localhost left intact
|
❗ Current behaviour: after performing COPY, the share drive (share mountpoint) got lost while listing the Steps to reproduce
|
me/drives
me/drives
me/drives
me/drives
folder
to received share file/folder
seems to work but no change in shares - lost share mountpoint in me/drives
Describe the bug
While trying to COPY a personal space FOLDER to (not inside) received share file or folder, the server responds with success response but the shares has no change and the share mountpoint is lost from the
me/drives
list.Steps to reproduce
admin
, share a folderadminFolder
withdemo
userdemo
, create a folderdemoFolder
in Personal spacedemo
, try to COPYdemoFolder
to received shareadminFolder
from admindemo
, check the drives list: noadminFolder
share drive ❌demo
, check the sharedWithMe list:adminFolder
share is listed ✔️admin
, check the file permissions - share entry is there ✔️The text was updated successfully, but these errors were encountered: