-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
unshare link does not work #6990
Comments
I just checked this locally against a clean 12.0.3 in chrome and it works for me me.
That already sounds weird... do you have some extra apps enabled? |
Don't remember which app's I activated extra, but this is the list of all the activated apps: Activity |
Tried on another computer, window 10, chrome 61, incognito window. Could not reproduce. |
When in my browser (my browser profile), I try to logon with a different nextcloud user, I also have the issue. But with another browser profile, it is not reproducible. Something else I could try? |
Also found that if I sign out of my profile the problem goes away and share works as expected. Also, clearing browsing history, cookies, cached data and resetting back to defaults does not resolve problem. When signing out and signing back in, the problem is present again. I even remove ALL extensions. |
Well sounds like your browser somewhat triggers the toggle twice causing an immediate reshare of the file. |
I have the same problem in the Google Chrome browser, for all users. It works in Firefox. |
I have the same issue as well - everything works as expected in Firefox, but in Chrome the toggle resets itself almost immediately. In additon, the same problem affects the password checkbox to protect the link with a password: The checkbox is automatically checked and cannot be unchecked in Chrome. |
I have the same problem in two separate Nextcloud installations - NC 12.0.3 and 12.0.4, Chromium 62.0.3202.94 on Ubuntu. You no longer can create "unshared" folders or files after you have clicked the sharing checkbox for one. Newly created ones are automatically shared and re-shared if you try to uncheck the box. |
We are experiencing the same issue on both NextCloud 12.0.3 / 12.0.4. Exactly what others described above (everything works as expected on Firefox but not on Chrome 63.0.3239.108, password field not displayed, share checkbox is immediately re-checked after unchecked, etc...). Clearing browser history, cookies and cached data does not resolve problem. This is creates a major security flaw since our users end-up publicly sharing all folders. |
Confirm. The same issue with the same behaviour. NextCloud 12.0.4. One more addition. Agree. It creates major security risk. |
I can confirm this bug. It appears to be only present on the Mac with Chrome. I cannot reproduce it under Windows (Chrome 63) or Linux (Chromium 62). This is also not reproducible with enabled incognito mode. I cleared ALL browser data including passwords. Now this issue is gone. |
@nickvergessen I found the cause of this issue. I have the force passwords for links option enabled. When I create a share link, enter a password and hit enter Chrome offers to save this password after the form submit. If I accidentally accept to store it Nextcloud always creates a share link with this password automatically. After uncheck the share link button the option is magically re-enabled as described above with the stored password. So clearing form data from Chrome history fixed this for now. But I think the store password dialog should be suppressed. Other browsers doesn't show this behavior because they don't offer to store the password. |
I tested this a little more and found out that the 1Password browser extension causes Chrome to offer the store password option. If I deactivate the plugin everything is fine. This explains why it worked in incognito mode. The extension in deactivated in incognito mode by default. So I believe this is not a Nextcloud bug. |
I have to deny that. The problem also appears on Chrome (62 and now 63) on Windows. But I can agree that in the incognito mode the issue do not exist. Anyway, I would say it's a nextcloud bug (possibly in combination with a chrome bug). |
In NC13 we added an autocomplete hint to the password input field. |
See #7461 |
Let's go for the other way around: I will close this now and if it still exist we could reopen the issue. |
I can confirm this on Linux, Chromium 65.0.3325.181. It is definitively Chrome trying to enter a stored password. We should use |
The Problem still exists with: |
Please open a new ticket - this one is nearly 1 year closed. |
When editing the sharing setting of a directory, a sharing link is automatically created, an a check is set on "share link". With Google Chrome, it is unpossible to unshare is (by clicking the check mark again to deactivate it). After less then a second, it is automatically activated again. The issue is only with Google Chrome (not with Safari i.e.) The client os seems to be unrelated.
See https://help.nextcloud.com/t/unshare-doesnt-work-falls-back-to-share/21259
Steps to reproduce
Expected behaviour
The check mark should be unchecked, and the sharing link should be removed
Actual behaviour
The check mark unchecked, and the sharing link was removed. But immediately after, (.5 sec), the check mark was checked again, and a sharing link was created again
Server configuration
Operating system:
Debian linux 8
Web server:
apache 2 2.4.10-10+deb8u9
Database:
mysql 5.5.58
PHP version:
php7
Nextcloud version: (see Nextcloud admin page)
12.0.3.3
Updated from an older Nextcloud/ownCloud or fresh install:
updated
Where did you install Nextcloud from:
do not remember
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
local
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
webdav
Client configuration
Browser:
Google chrome 61 and 62
Operating system:
Mac Sierra 10.12.1
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: