Fetch 傳送檔案到 Unix 的 permission 設定?

Mac OS X 平台上程式設計的相關問題討論

版主: bryanchangdigdog謝孟叡

回覆文章
內容
發表人
頭像
謝孟叡
討論區管理員
文章: 960
註冊時間: 05/01/2001 1:01 am
來自: 邪教組織 #osxchat
聯繫:

Fetch 傳送檔案到 Unix 的 permission 設定?

#1 文章 謝孟叡 »

沒有上下文,很難判斷說....
先說 binary and ASCII
一般來說是要用 ASCII mode 傳純文字檔, 這樣換行符號理論上能夠自動轉換, 而 binary 則是用來傳其他的檔案,尤其是編譯好了的程式。

As for permission:
7 is for rwx ; which has read/write/execute permission
5 is for r-x ; which has read and execute permission
4 is for r-- ; which is read-only

754 means that you have #7 permission, your group members have #5 and others can only read it.

我不知道 Fetch 原文要表達的邏輯是什麼, 所以暫此不表。

[img]images/smiles/icon_biggrin.gif[/img]
<BLOCKQUOTE><font size="1" face="XYZ">quote:</font><HR>原始發信人 Chao Chang:
<STRONG>我用 Fetch 來傳送檔案,但有時常看到裝軟體的說明寫到裝在 Unix 系統上要設定 permission 到 755 或 777,又有時說到 ASCII mode,那是什麼意思?我用 Fetch 上的 "Set Upload Permission" 改其中的設定,但 Server 卻拒絕讓我上傳。不知誰有這類的知識或經驗。謝謝!
If you are installing on a Unix system, permissions for these files must be 755.................... If you are installing on a Unix system, permissions for these files must be 777................There is no need to set permissions on the files you upload to the non-CGI directory. Be sure to transfer all non-image files in ASCII mode. ................<HR></BLOCKQUOTE></STRONG>
頭像
Chao, the good one
嗜冰客
文章: 1082
註冊時間: 08/21/2001 1:01 am
來自: Bright Side of the Moon
聯繫:

Fetch 傳送檔案到 Unix 的 permission 設定?

#2 文章 Chao, the good one »

我用 Fetch 來傳送檔案,但有時常看到裝軟體的說明寫到裝在 Unix 系統上要設定 permission 到 755 或 777,又有時說到 ASCII mode,那是什麼意思?我用 Fetch 上的 "Set Upload Permission" 改其中的設定,但 Server 卻拒絕讓我上傳。不知誰有這類的知識或經驗。謝謝!
<BLOCKQUOTE><font size="1" face="XYZ">quote
If you are installing on a Unix system, permissions for these files must be 755.................... If you are installing on a Unix system, permissions for these files must be 777................There is no need to set permissions on the files you upload to the non-CGI directory. Be sure to transfer all non-image files in ASCII mode. ................
回覆文章