Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

【求助】改文件夹权限导致Nextcloud无法访问

Featured Replies

本来想通过webdav在虚拟群晖备份unraid中Nextcloud的文件,结果提示没权限,就通过Dynamix File Manager把Nextcloud存储的主文件夹设置了other权限可读写,访问Nextcloud首页提示当前权限被其他人访问需要调整回来否则无法访问,就把之前在Dynamix File Manager调整的Other可读写改成了拒绝,最后结果就是Nextcloud首页报错,看了下日志:

 

Quote

{"reqId":"5y6HHZJ8WOF5y","level":3,"time":"2023-06-01T04:38:47+00:00","remoteAddr":"192.168.50.188","user":"--","app":"PHP","method":"GET","url":"/","message":"chmod(): Operation not permitted at /config/www/nextcloud/lib/private/legacy/OC_Util.php#1005","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","version":"22.1.1.2","exception":{"Exception":"Error","Message":"chmod(): Operation not permitted at /config/www/nextcloud/lib/private/legacy/OC_Util.php#1005","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/config/www/nextcloud/lib/private/legacy/OC_Util.php","line":1005,"function":"chmod"},{"file":"/config/www/nextcloud/lib/private/legacy/OC_Util.php","line":804,"function":"checkDataDirectoryPermissions","class":"OC_Util","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":656,"function":"checkServer","class":"OC_Util","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1083,"function":"init","class":"OC","type":"::"},{"file":"/config/www/nextcloud/index.php","line":34,"args":["/config/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"5y6HHZJ8WOF5y","level":3,"time":"2023-06-01T04:38:47+00:00","remoteAddr":"192.168.50.188","user":"--","app":"PHP","method":"GET","url":"/","message":"chmod(): Operation not permitted at /config/www/nextcloud/lib/private/Log/File.php#86","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","version":"22.1.1.2"}

 

Dynamix File Manager中只反复设置了几次other的访问权限,其他没设置过:

image.thumb.png.ea7325a07ca4197c20a58b103e637d71.png

 

怀疑是不是设置整个nextcloud的权限时导致权限错乱而无法读取,所以首页就不让访问了。

 

首页报错如下:

image.thumb.png.de65951f28ce177727940baed80f0c85.png

Edited by mingshun

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.