-
Notifications
You must be signed in to change notification settings - Fork 20
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
OCA\DAV\Connector\Sabre\Exception\Forbidden: No read permissions - Incompatible with "Terms of service"? #204
Comments
The bug still exists in NC 21 (21.0.1). |
Same behaviour here. Nextcloud 20.0.8 instance. With the app terms of services activated and external storage of type local, it throws an exception when you try to open the folder and simply can't use or access it. I'm using an admin account so I guess it has nothing to do with guest or not. Nobody can open the folder.
|
I have similar troubles without using the "Terms of service" app. The context is
The idea is to block access to some folders to people not in some groups. Here is an example of a log I get very often for each user with access denied to the the two folders protected via access control:
I may understand it badly but I thought |
I have NC 21.0.2 now with PHP 7.4 and yes, also file_accesscontrol is in use. But with the last 20.0.9 i had in use before upgrading to 21.0.1 a few weeks ago this error has been disappeared. Somewhere else i have read that the error message don't have impact on the general function of the cloud, but what is scary a little bit that the error is declared as "Fatal -> webdav" ... So how to react on those messages in the log? |
This is occuring on my installation also. v23.0.2.1 |
This also occurs on TrueNAS with NextCloud version 23.0.3 |
Same here NC 24.0.2 with php 8.0. Did anyone manage to find something?? |
Me too. My NC (23.0.6 via Docker, data dir mapped to external SSD mount) suddenly stopped syncing after creating a new folder on my Macbook in the root nextcloud folder. Log gives these errors. Rebooting the docker containers did not help. I can access all the files via web interface, can also access the files on the mounted SSD. Opening sync settings on the client shows all the root folders, but opening them reveils 'Error while loading the list of folders from the server' UPDATE: updated to 24.0.3; no changes UPDATE: I created a group for users root, www-data and my user and made that the group owner for the data dir and set permissions to also have group read and write. Did not change anything. Web still works, sync is broken SOLVED: weird.. after a couple of hours and leaving it without changing anything, the sync now works without problems |
We've been having the same issue with our OpenProject Integration for Nextcloud. Our integration creates a system user which handles various things and needs the right permissions to do so. I could imagine that it's a similar issue for the files access control app. For instance the guest user hasn't accepted the TOS so they are denied any access at all even on a public share. |
Guests are excluded from TOS by default: https://github.com/nextcloud/terms_of_service#-display-on-public-shares |
Steps to reproduce
Expected behaviour
The function of the app is not affected, but generates an error
Actual behaviour
Do not generate error
Server configuration detail
Operating system: Linux 4.19.0-13-amd64 nextcloud/server#1 SMP Debian 4.19.160-2 (2020-11-28) x86_64
Webserver: nginx/1.18.0 (fpm-fcgi)
Database: MariaDB/mysql 10.5.8
PHP version:
7.4.13
Modules loaded: Core, date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, Reflection, session, standard, SimpleXML, sockets, mbstring, tokenizer, xml, cgi-fcgi, mysqlnd, bcmath, curl, dba, dom, enchant, fileinfo, gd, imagick, imap, intl, json, ldap, exif, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, redis, soap, sodium, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, xmlreader, xmlrpc, xmlwriter, xsl, zip, ionCube Loader, Zend OPcache
Nextcloud version: 20.0.4 - 20.0.4.0
Updated from an older Nextcloud/ownCloud or fresh install: Update from 20.0.3
Where did you install Nextcloud from: download.nextcloud.com
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: no
Are you using encryption:
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36
Operating system: Windows 10, IpadOS 14, iOS 14
Logs
Web server error log
Nextcloud log
Browser log
The text was updated successfully, but these errors were encountered: