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

Sharing folders doesnt work #9968

Closed
ghost opened this issue Jun 22, 2018 · 8 comments
Closed

Sharing folders doesnt work #9968

ghost opened this issue Jun 22, 2018 · 8 comments

Comments

@ghost
Copy link

ghost commented Jun 22, 2018

Steps to reproduce

  1. Share a folder
  2. Open the downloadlink
  3. Password required.

Expected behaviour

I should be able to download the folder

Actual behaviour

Nextcloud wants to know a Username and a Password which doesnt exists

Reason why it happens

the file permission of the "data" folder is apparently changed back to 770 on the call. But Nextcloud does not seem to work with this permission configuration.

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #9813 (Share folders doesnt work anymore), #2658 (Sharing and permissions), #7588 (Folder permissions), #1020 (Search not working in shared (external/local storage) folders), and #6856 (Question - Sharing Folders).

@MorrisJobke
Copy link
Member

Open the downloadlink
Nextcloud wants to know a Username and a Password which doesnt exists

If you used the "direct link" then this is expected, because it is basically a deep link to the file and looks like this:
https://cloud.example.com/f/464463

bildschirmfoto 2018-06-25 um 07 48 58

You need to copy the share link, that is generated on sharing the file. It looks like and will work without authenticate again:

https://cloud.nextcloud.com/s/rbTgxs4sSXomMMM

bildschirmfoto 2018-06-25 um 07 51 32

the direct link looks like this:

@ghost
Copy link
Author

ghost commented Jun 25, 2018

I Used The share link but IT ist working

@ghost
Copy link
Author

ghost commented Jun 25, 2018

Isnt*

@MorrisJobke
Copy link
Member

I Used The share link but IT ist working

What is then actually not working. Do you have a screenshot? Could you post the URL? Anything in the logs or browser console?

@MorrisJobke
Copy link
Member

the file permission of the "data" folder is apparently changed back to 770 on the call. But Nextcloud does not seem to work with this permission configuration.

Is the owner of the files actually the web server? Are all processes run as this user? Also the cron user?

This looks very much like a setup issue, which is better suited for the forums.

@ghost
Copy link
Author

ghost commented Jun 25, 2018

https://dekoyt.de/nextcloud/index.php/s/xxbwXFkbGFdnpTG

and you dont shared a folder, you shared a normal file. Sharing a normal file works but folder not (German: Ich denke wir können auch Deutsch schreiben)

@MorrisJobke
Copy link
Member

(German: Ich denke wir können auch Deutsch schreiben)

As we are an international community we communicate in English ;)

Looks like a setup issue. Maybe your web server is removing some headers that are needed. See https://help.nextcloud.com/t/authorization-required-for-anonymous-upload/1738

For further setup related questions I would ask you to raise them in the forums: https://help.nextcloud.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants