常用:
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.
常用:
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刪除。