修護權限有害健康?

本區專門提供 Mac OS X 使用者交換使用心得

版主: ross_ttbryanchangdigdogchester

回覆文章
內容
發表人
頭像
ph
基本會員
文章: 37
註冊時間: 02/17/2003 3:44 pm
來自: Taipei/Pingtung, Taiwan

修護權限有害健康?

#1 文章 ph »

Rixstep這個網站有個關於Onyx嚴苛評批,其中指出了,
Verify and Repair permissions
Apple themselves refuse to do this on the system disk - and this program is now going to do what Apple advise against?

但不論是之前的Panther Maintenance Tips 譯文 from O'Reilly,或是我在Apple Knowledge Base搜尋的結果,都沒有查到類似的論點。我們看O'Reilly那篇文章的譯文吧,「修護檔案和資料夾的權限是許多非入侵性的 Mac OS X 維護工作之一,……。Panther 的 Disk Utility 在修復速度上有了很大的改進,讓我們更有理由定期執行。」 這讓我困惑了起來,也許是Rixstep這個網站太驕傲了,(站上大部分的評批都十分的驕傲及菁英),不過我還是想詢問一下,修護權限有害健康?
留言五百如一日
文章: 610
註冊時間: 12/25/2001 1:01 am

#2 文章 »

Rixstep這個網站有個關於Onyx的嚴苛評批
立論清晰,評斷中肯。 8)
Apple themselves refuse to do this on the system disk
叛之:refuse to do this on the startup disk。

或喻:拒絕在高速行駛的轎車上進行外科手術。 :twisted:
頭像
ph
基本會員
文章: 37
註冊時間: 02/17/2003 3:44 pm
來自: Taipei/Pingtung, Taiwan

#3 文章 ph »

悲 寫: 立論清晰,評斷中肯。 8)

叛之:refuse to do this on the startup disk。
:twisted:
我所疑問的是,之前的黑豹維護技巧也是鼓勵使用者檢查權限,且沒有特別提到開機碟的問題。像是系統內定的維護,cron,也是在背景偷偷摸摸的作事,為什麼這就沒問題而verifying and repairing permissions就有問題?我所找到的資料,是使用開機光碟開機後,再檢查。但僅止於此。

另外,rixstep上的評論喜歡批評軟體太過巨大,像是"First off, it comes as a DMG, full of .DS_Store files nobody wants, only bloating the download.",我覺得以現今的硬體設備來說,這些只是小事情不需要定死罪。或是表達出對金屬界面的不滿,"it uses the incredibly ugly metal interface"。下面這個評論我也覺得是非戰之罪,"Sixth, the tabs give you fifteen zillion options each, and you can't separate the one function from the other. If you want one, you have to take them all, and if you aren't sure of some, then you can do nothing."難道要把每個功能都拆出來才行嗎?但是像Tinkertool、Cocktail之類的,也沒有得到什麼好話。

唯一重大的批評是這個,"The entire program OnyX can, in other words, be summed up in fifty or so 'defaults' commands which, together, take less than 3 KB on disk - whereas the DMG for OnyX is almost 1,000 times that size.",以及"hide things you should rightfully know."。固然,以CLIX這套軟體的作者角度來批評是沒錯。但CLIX對某些人來說可能還是太混亂了。我喜歡使用Onyx的簡單及快速。
留言五百如一日
文章: 610
註冊時間: 12/25/2001 1:01 am

#4 文章 »

之前的黑豹維護技巧也是鼓勵使用者檢查權限,且沒有特別提到開機碟的問題。像是系統內定的維護,cron,也是在背景偷偷摸摸的作事,為什麼這就沒問題而verifying and repairing permissions就有問題?
cron 所觸發的,沒有驗證和修理權限。

再喻:

用開機光碟開機,startup disk 是光碟;驗證和修理權限,是把轎車停下來維修引擎〔內置硬碟〕。

用內置硬碟開機,startup disk 是內置硬碟;驗證和修理權限,不啻是在高速行駛的轎車上維修引擎〔內置硬碟〕。成還可,敗則 :evil:
頭像
謝孟叡
討論區管理員
文章: 960
註冊時間: 05/01/2001 1:01 am
來自: 邪教組織 #osxchat
聯繫:

#5 文章 謝孟叡 »

我又要來說 OnyX 的壞話,我的朋友發現 OnyX 在做事的時候你可以用 ps 看到 sudo password :twisted:
void
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
頭像
五樣
我的聖誕小貓被綁票了
文章: 658
註冊時間: 03/16/2002 1:01 am
來自: 黑暗料理界
聯繫:

#6 文章 五樣 »

悲 寫: cron 所觸發的,沒有驗證和修理權限。

再喻:

用開機光碟開機,startup disk 是光碟;驗證和修理權限,是把轎車停下來維修引擎〔內置硬碟〕。

用內置硬碟開機,startup disk 是內置硬碟;驗證和修理權限,不啻是在高速行駛的轎車上維修引擎〔內置硬碟〕。成還可,敗則 :evil:
但如果內置硬碟的系統做了升級(如10.3 > 10.3.3),而開機光碟的系統為10.3,這時候用10.3的Disk Utility去修復10.3.3,恐怕可能會越修越糟糕?

個人愚見所能想到最好的方法,就是硬碟裡有兩個同樣的系統,用一個去修另一個 :evil:
留言五百如一日
文章: 610
註冊時間: 12/25/2001 1:01 am

#7 文章 »

用10.3的Disk Utility去修復10.3.3,恐怕可能會越修越糟糕?
瞎猜:可能。又,從 10.0 至今,未有檢修系統、權限。
個人愚見所能想到最好的方法,就是硬碟裡有兩個同樣的系統,用一個去修另一個
死生有命,硬碟、系統的老、病、死俱不可免;何苦? :cry:

平心入世,既用之,則安之。 :wink:
頭像
janusng
嗜冰客
文章: 1048
註冊時間: 04/30/2001 1:01 am
來自: Metropolis Asylum
聯繫:

#8 文章 janusng »

其實,OS X是應該經常repair permissions的,我直情用anacron去每週行一次,有不小問題,也是可以由repair permissions救回的。

相反,對non-startup disk,repair permissions作用不大。 :)
圖檔
It is not god who created man. It is man who created God.

Light travels faster than sound. This is why some people appear bright until you hear them speak.
頭像
謝孟叡
討論區管理員
文章: 960
註冊時間: 05/01/2001 1:01 am
來自: 邪教組織 #osxchat
聯繫:

#9 文章 謝孟叡 »

janusng 寫:其實,OS X是應該經常repair permissions的,我直情用anacron去每週行一次,有不小問題,也是可以由repair permissions救回的。

相反,對non-startup disk,repair permissions作用不大。 :)
另外必須補充指出的是,Disk Utilities 並沒有 repair permissions on non-startup disk 的選項。修復 permission 並不會危害到 file system,所以悲兄言重了。
void
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
留言五百如一日
文章: 610
註冊時間: 12/25/2001 1:01 am

#10 文章 »

Disk Utilities 並沒有 repair permissions on non-startup disk 的選項。修復 permission 並不會危害到 file system,所以悲兄言重了。
好,謝兄看出這是誇大不實。 8)

心沉重,看事也較灰。:cry:



又,可加此二指令到 cron,讓系統自行檢修。


檢權限:

代碼: 選擇全部

$ diskutil verifyPermissions /
修權限:

代碼: 選擇全部

$ diskutil repairPermissions /
回覆文章