修復不了的權限⋯⋯

os x10.9
最近沒有新裝什麼app
有天例行整理權限時其中有一條:

「Applications/Safari.app/Contents/Resources/Safari.help/Contents/Resources
/index.html」上的權限不同:應為「lrwxr-xr-x 」;現為「-rwxr-xr-x 」

目前使用上沒有什麼問題
但這部份不知為何一直無法修復
求解感謝~!!
2014-09-04 9:21 發佈
文章關鍵字 權限
http://support.apple.com/kb/TS5362?viewlocale=en_US

這邊的方法做過了嗎?

3C的世界裡,別滿腦子只想著"超值"。就像無線網路一樣,別人推薦的,只適用在他家的環境,到了你家又是另外一回事。小烏龜牽到北京也不會變成千里馬。
倒是沒有!
但這兩者間似乎沒有關係吧?
Marty McFly wrote:
os x10.9最近...(恕刪)


lrwxr-xr-x 是代表 linux/unix file permission, 有十個位數(!?).

第一個是 special permission flag (特殊權限旗子!?) 你本來的 l 代表是你這個檔案或資料夾是一個symbolic link (捷徑!?, 不是真正的檔案或資料夾, 只是一個pointer), 然後接下來九個位數你應該知道是幹嘛用的, 就不說了.

如果你更要改成 lrwxr-xr-x, (在檔案所在的資料夾下)你可以打 sudo ln -s index.html any_new_name, 然後, 你就創建了一個symbolic link which points to index.html with file permission lrwxr-xr-x.

我輸入的是 sudo ln -s index.html index_temp.html , 然後打 ls -l




但, 我覺得此舉沒意義 ....... XD




PS. more info about the special permission flag

The special permissions flag can be marked with any of the following:

_ - no special permissions
d - directory
l - The file or directory is a symbolic link
s - This indicated the setuid/setgid permissions. This is not set displayed in the special permission part of the permissions display, but is represented as a s in the read portion of the owner or group permissions.
t - This indicates the sticky bit permissions. This is not set displayed in the special permission part of the permissions display, but is represented as a t in the executable portion of the all users permissions
l表示symbolic link, 有點像是windows內的捷徑, 只要是symbolic link,就會出現l, 那是無法自己用指令加出來的, 如果要自己修改權限, 可以man chmod, 參考裡面的說明. 如果是要加symbolic link 可以man ln指令.
目前是不影響使用
為了避免自己手賤弄的更糟
小妹還是等更新看看他會不會跑回去
謝謝樓下幾位指點
相當感激!
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?