設定檔案權限
您可以透過權限設定來控制誰能存取與編輯您所擁有的檔案。要檢視與設定檔案權限,您可以檔案上按下滑鼠右鍵,並選擇「屬性」後便能在屬性視窗底部看見「權限」按鈕。
檔案
您可以為三種類型的使用者設定不同的檔案存取權限,包含:檔案擁有者、群組中的使用者、系統上的其他使用者。倘若您是檔案的擁有者,您可以將檔案設為「僅能讀取」或是「讀取與寫入」。假如您擔心檔案會誤遭修改,便能將檔案設為「僅能讀取」。
Every user on your computer belongs to a group. On home computers, it is common for each user to have their own group, and group permissions are not often used. In corporate environments, groups are sometimes used for departments or projects. As well as having an owner, each file belongs to a group. You can set the file’s group and control the permissions for all users in that group. You can only set the file’s group to a group you belong to.
You can also set the permissions for users other than the owner and those in the file’s group.
If the file is a program, such as a script, you must select Allow executing file as program to run it. Even with this option selected, the file manager will still open the file in an application. See 開啟可執行文字檔 for more information.
資料夾
您可以為三種類型的使用者設定不同的資料夾存取權限,包含:資料夾擁有者、群組中的使用者、系統上的其他使用者。參閱下方說明以了解不同權限所能進行的動作有哪些。
資料夾所能設定的權限與檔案並不相同。
- 無
使用者沒有權限瀏覽資料夾中所包含的項目。
- 僅能列出檔案
使用者有權限瀏覽資料夾中所包含的項目,但無法開啟、建立、刪除檔案。
- 存取與修改檔案
使用者有權限開啟資料夾中所包含的項目(需擁有開啟子項目的權限),但無法建立或刪除檔案。
- 建立與刪除檔案
使用者擁有資料夾的完全存取權限,包含開啟、建立、刪除檔案。
您可以快速設定資料夾中所有子項目的權限,點一下「更改子項目權限…」便能進行更動。在彈出的視窗中使用下拉式列表,分別對檔案或資料夾調整不同的權限設定,並按下「更改」儲存設定。此處所設定的權限會套用到所有的子檔案與子目錄(也包含子目錄中的子項目)。