chmod +x 和 chmod u+x的區別


常用:

 chmod a+x tomcat

 

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.

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM