둘둘리둘둘리둘둘리둘둘리둘둘리둘

파일 접근 권한(mode_t) 본문

Linux/Programming

파일 접근 권한(mode_t)

dool2ly 2017. 1. 8. 02:58

@파일 접근 권한(mode_t)


The following symbolic constants are provided for mode:


              S_IRWXU  00700 user (file owner) has read, write and execute permission


              S_IRUSR  00400 user has read permission


              S_IWUSR  00200 user has write permission


              S_IXUSR  00100 user has execute permission


              S_IRWXG  00070 group has read, write and execute permission


              S_IRGRP  00040 group has read permission


              S_IWGRP  00020 group has write permission


              S_IXGRP  00010 group has execute permission


              S_IRWXO  00007 others have read, write and execute permission


              S_IROTH  00004 others have read permission


              S_IWOTH  00002 others have write permission


              S_IXOTH  00001 others have execute permission



'Linux > Programming' 카테고리의 다른 글

IPC(Inter Process Communication)  (0) 2016.07.09
Thread  (0) 2016.07.08
Signal  (0) 2016.07.05
유저 정보 획득  (0) 2016.07.03
파일 속성 획득  (0) 2016.07.03
Comments