飞牛影视在挂载外接硬盘的媒体库时,会在 /var/log/trim_app_center/error.log 中生成大量的(几百兆)的错误日志,看起来是文件权限的问题:


系统版本1.1.3701,影视版本0.9.7-3
挂载的目录所在的文件系统是ntfs,文件夹的权限是755
time="2026-06-30T15:10:42+08:00" level=error msg="trim access stat error" error="bad file number" path=/vol00/HDD02/Movies
appstore/core/app/appenvs.WithDataAccessiblePaths.func1(0xc000574600)
/app/core/app/appenvs/option.go:228 +0x228
appstore/core/service.(*CheckService).Run.WithApp.func3(0xc000574600)
/app/core/app/appenvs/option.go:198 +0xe5
appstore/core/app/appenvs.(*ENVs).Use(...)
/app/core/app/appenvs/appenvs.go:28
appstore/core/app/appenvs.NewWithOptions(0xc000121290?, {0xc0004cbda0, 0x2, 0x5?})
/app/core/app/appenvs/appenvs.go:164 +0xab
appstore/core/service.(*CheckService).Run(0x6a08380?, 0xc0000ef710)
/app/core/service/check.go:101 +0x339
appstore/core/app/appqueue.(*Queue).handleTask.func1.(*Events).Call.2(0xc0000ef710, 0xc0004cbe8e, 0x0?, {0x1755a60?, 0xa7f4d2?})
/app/core/app/appqueue/event.go:37 +0x72
appstore/core/app/appqueue.(*Events).Call(...)
/app/core/app/appqueue/event.go:38
appstore/core/app/appqueue.(*Queue).handleTask.func1(0xc0005bcf82?, 0xc0004cbede, 0xc0005bcef0?)
/app/core/app/appqueue/queue.go:157 +0x5e
appstore/core/app/appqueue.(*Queue).handleTask(0xc0003f4820, 0xc0000ef710)
/app/core/app/appqueue/queue.go:158 +0xa5
created by appstore/core/app/appqueue.(*Queue).processTasks.func1 in goroutine 132
/app/core/app/appqueue/queue.go:128 +0xd5