看板 FreeBSD 關於我們 聯絡資訊
※ 引述《[email protected] (raison detre)》之銘言: > 請問一下各位前輩 > 小弟在使用ls -l 列出檔案目錄的時候 > 發現群組的部分x的欄位變成了s > 請問這個s有什麼特別的意思嗎 > drwxrwsrwx 2 root sys 512 Aug 24 15:09 20110824 > drwxrwsrwx 2 root sys 512 Sep 05 15:40 20110905 > -rwxr-x--- 1 root sys 135 Aug 23 13:59 TEST.DAT > -rwxr-x--- 1 root sys 177 Aug 24 10:10 READ.bak # man ls .... The next three fields are three characters each: owner permissions, group permissions, and other permissions. Each field has three character posi- tions: 1. If r, the file is readable; if -, it is not readable. 2. If w, the file is writable; if -, it is not writable. 3. The first of the following that applies: S If in the owner permissions, the file is not exe- cutable and set-user-ID mode is set. If in the group permissions, the file is not executable and set-group-ID mode is set. s If in the owner permissions, the file is exe- cutable and set-user-ID mode is set. If in the group permissions, the file is executable and set- group-ID mode is set. x The file is executable or the directory is search- able. - The file is neither readable, writable, exe- cutable, nor set-user-ID nor set-group-ID mode, nor sticky. (See below.) -- Leo [joehorn]:~> make one lover for me make: don't know how to make one. Stop Leo [joehorn]:~> why? why?: No match. -- ☆Origin: 星情小築 ( Star.leobbs.net ) ★Author: JoeHorn ☆From: 114-37-133-245.dynamic.hinet.net