
使用 Debian,我無法建立預設所有使用者都具有讀取權限的檔案。
例如:
# umask
0002
# touch test
# ls -l test
-rw-rw----+ 1 user user 0 Jun 25 18:18 test
建立可讀檔案有什麼具體限制嗎?
答案1
由於您的系統使用ACL,因此該檔案將具有擴充權限。嘗試:
getfacl test
準確查看檔案權限。
使用 Debian,我無法建立預設所有使用者都具有讀取權限的檔案。
例如:
# umask
0002
# touch test
# ls -l test
-rw-rw----+ 1 user user 0 Jun 25 18:18 test
建立可讀檔案有什麼具體限制嗎?
由於您的系統使用ACL,因此該檔案將具有擴充權限。嘗試:
getfacl test
準確查看檔案權限。