본문 바로가기
호기심_메모

파일타입 "p" (prwx------)

by 겸손하게 빚진자로, 밝게 인사 2014. 12. 3.
728x90

prwx

The first character in the string is reserved for the file type

d directory

p pipe/fifo

l link

c character device file

b block device file

s local domain socket

 

Named pipe[edit]

Main article: Named pipe

One of the strengths of Unix has always been inter-process communication. Amongst the facilities provided by the OS are pipes. These pipes connect the output of one process to the input of another. This is fine if both processes are living in the same parent process space, started by the same user. There are however circumstances where the communicating processes must use named pipes. One such circumstance is that the processes have to be executed under different user names and permissions.

These named pipes are special files that can exist anywhere in the file system. These named pipe special files are made with the command mkfifo as in mkfifo mypipe.

A named pipe is marked with a p as the first letter of the mode string, e.g.

prw-rw---- ... mypipe

 

참고 : http://unix.stackexchange.com/questions/20692/knowing-privilege-rights-on-a-file-in-linux

http://en.wikipedia.org/wiki/Unix_file_types

반응형

'호기심_메모' 카테고리의 다른 글

리눅스 : SSH 접속 설정  (0) 2015.01.03
2015년 정보보안기사 시험일정  (0) 2014.12.09
Base64  (0) 2014.12.03
사이트 : Advanced Bash-Scripting Guide & 예제  (0) 2014.12.01
사이트 : Linux man pages  (0) 2014.12.01