我习惯在 Ubuntu 上使用 Caprine 作为我的信使客户端。然而,在使用 Ubuntu 18.04 几个月后,它根本无法开始给出这个异常:
nicnajder@nicnajder:~$ caprine
A JavaScript error occurred in the main process
Uncaught Exception:
Error: EPERM: operation not permitted, chown '/home/nicnajder/snap/caprine/28/.config/Caprine/config.json.2832388994'
at Object.chownSync (fs.js:1104:3)
at Function.writeFileSync [as sync] (/snap/caprine/28/resources/app.asar/node_modules/conf/node_modules/write-file-atomic/index.js:196:27)
at ElectronStore.set store [as store] (/snap/caprine/28/resources/app.asar/node_modules/conf/index.js:277:19)
at ElectronStore.set (/snap/caprine/28/resources/app.asar/node_modules/conf/index.js:152:14)
at updateVibrancySetting (/snap/caprine/28/resources/app.asar/dist-js/config.js:155:15)
at migrate (/snap/caprine/28/resources/app.asar/dist-js/config.js:165:5)
at Object.<anonymous> (/snap/caprine/28/resources/app.asar/dist-js/config.js:168:1)
at Module._compile (internal/modules/cjs/loader.js:786:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
at Module.load (internal/modules/cjs/loader.js:645:32)
我尝试重新安装 Caprine,但没有解决问题。有什么想法该怎么做?
编辑:
nicnajder@nicnajder:~$ ls -ld /home/nicnajder/snap{,/caprine{,/28{,/.config{,/Caprine{,/config.json.2832388994}}}}}
ls: cannot access '/home/nicnajder/snap/caprine/28/.config/Caprine/config.json.2832388994': No such file or directory
drwxr-xr-x 5 nicnajder nicnajder 4096 jún 28 12:54 /home/nicnajder/snap
drwxr-xr-x 4 nicnajder nicnajder 4096 aug 22 14:39 /home/nicnajder/snap/caprine
drwxr-xr-x 4 nicnajder nicnajder 4096 aug 22 14:39 /home/nicnajder/snap/caprine/28
drwxr-xr-x 8 nicnajder nicnajder 4096 aug 22 14:39 /home/nicnajder/snap/caprine/28/.config
drwxr-xr-x 2 nicnajder nicnajder 4096 aug 23 12:33 /home/nicnajder/snap/caprine/28/.config/Caprine