Re: MulderPatch 在 leopard 上的 workaround
※ 引述《yllan (藍永倫)》之銘言:
: 據說這樣就可以讓 MulderPatch 在 Leopard 上再起...
: * 改放到 /Library/InputManagers
: * 改 owner 為 root, group 為 admin,權限為 755
: 推 EShensh:經測試… 無效... ╮(╯_╰)╭ 10/27 07:16
: 推 yllan:那請問你的 AlienBBS 權限是不是 wheel group 呢? 10/27 11:09
: → yllan:or root user/setuid/setgid 如果是的話改掉試試看~ 10/27 11:10
: 推 EShensh:drwxr-xr-x 3 eshensh eshensh 102 6 16 2006 Alie 10/27 11:12
: 推 EShensh:也改 root/admin 嗎? 10/27 11:13
如果是這樣就不用改了,app 的話要是 root/admin 是不行的~
那我猜是 MulderPatch 的權限沒有完全改到,要把底下所有的檔案都改成
root:admin, 755/644 才行... 也許你試試看底下黃色的那行指令?
sudo mkdir /Library/InputManagers
sudo mv ~/Library/MulderPath /Library/InputManagers
sudo chown -R root:admin /Library/InputManagers
根據 AppKit Release Note, 要能 run 起來有以下這些限制(汗):
(因為 InputManager 本來就是一個很大的安全性漏洞,要能讓他比較安全
就要很麻煩的權限)
* The valid installation is now restricted to the
/Library/InputManagers folder only. Bundles in other locations are
silently ignored.
* All the files in the bundle and /Library/InputManagers folder
itself must be owned by the root user and admin group. No files
inside the bundle can have group or other write permissions.
* Processes running with the root privilege (getuid() == 0 or
geteuid() == 0) cannot load any bundle input manager.
* Processes running with the wheel group privilege cannot load any
bundle input manager.
* The process must be in the active workspace session at the time of
loading the bundles.
* The process must not be tainted by changing user or group id
(checked by issetugid()).
* No 64-bit processes can load any bundle input managers.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.31.3
推
11/14 17:29, , 1F
11/14 17:29, 1F
MAC 近期熱門文章
PTT數位生活區 即時熱門文章