linux中 chmod +x 和 chmod u+x的區別

經過man查詢可知: u 表明用戶. g 表明用戶組. o 表明其餘. a 表明全部. 這意味着chmod u+x somefile 只授予這個文件的所屬者執行的權限 而 chmod +x somefile 和 chmod a+x somefile 是同樣的 Just doing +x will apply it to all flags: [u]ser, [g]roup, [o]thers.we
相關文章
相關標籤/搜索