Re: [問題] 請問權限的設定

看板FreeBSD作者時間13年前 (2011/09/08 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《ireullin.bbs@ptt.cc (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
文章代碼(AID): #1EPx5V1q (FreeBSD)
文章代碼(AID): #1EPx5V1q (FreeBSD)