본문 바로가기
Operating System/MAC OS

[MAC] 파일 권한 뒤 Plus(+)가 무엇일까?

by 근육곰돌이 2021. 6. 3.
728x90

맥이나 리눅스에서 가끔 권한을 보면 755퍼미션뒤에 +가 있는것들이 있다.

그건 무엇일까..? 사실 잘 본적이 없어서 무시하고 있었지만, 맥 어플리케이션 개발중.. 

뒤에 +있는 파일/폴더들이 보이지않아서, 찾아보게 되었다.

$ ls -ld X
drwxr-xr-x 2 sweh sweh 4096 Feb 16 20:06 X/
$ setfacl -m u:root:rwx X
$ ls -ld X               
drwxrwxr-x+ 2 sweh sweh 4096 Feb 16 20:06 X/
$ 

 

퍼미션 뒤 (+)는 ACL접근 권한을 뜻합니다.

아래의 링크의 설명을 참고 바랍니다.

https://unix.stackexchange.com/questions/501108/what-does-a-plus-after-the-file-permission-bits-mean

 

What does a plus (+) after the file permission bits mean?

I ran ls and found a directory that has the + bit set: $ ls -ld /var/log/journal drwxr-sr-x+ 3 root systemd-journal 4096 Oct 1 01:23 /var/log/journal I understand drwxr-sr-x, but what is +? What...

unix.stackexchange.com

 

 

OS별 ACL권한 확인 방법

https://unix.stackexchange.com/questions/347836/view-extended-acl-for-a-file-with-in-ls-l-output

 

View extended ACL for a file with '+' in ls -l output

A file in a ls -l listing has permissions such as: -rw-r-----+ How do I find the extended Access Control List (ACL) permissions denoted by the +?

unix.stackexchange.com

 

권한이 있으니 잘 개발 하시기 바랍니다.

모두들 화이팅..

반응형