os x10.9
最近沒有新裝什麼app
有天例行整理權限時其中有一條:
「Applications/Safari.app/Contents/Resources/Safari.help/Contents/Resources
/index.html」上的權限不同:應為「lrwxr-xr-x 」;現為「-rwxr-xr-x 」
目前使用上沒有什麼問題
但這部份不知為何一直無法修復
求解感謝~!!
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




























































































