197
yesterday 798
visitor 23,491,453
13

리눅스 권한설정 chmod

조회 수 71995 추천 수 0 2011.10.19 10:33:54
보통 리눅스/유닉스에서 권한 설정을 할 때 'chmod 777 [이름]' 명령어를 자주 사용합니다.
그런데, 이 명령어가 정확히 뭘 의미하는 것일까요?


리눅스에서 권한은 총 10자리로 표시됩니다. 대략 어떤 식으로 표시되는지 터미널창에서
ls -al
명령어를 이용해서 파일 리스트를 한 번 봅시다.

대충 다음과 같은 리스트를 볼 수 있는데,

drwxr-xr-x 4 root root        4096 2011-03-12 14:58 .
drwxr-xr-x 7 root root        4096 2011-03-12 15:37 ..
drwxr-xr-x 2 root root        6364 2011-03-12 14:32 CSC
-r-xr-xr-x 1 root root        23110 2011-03-12 14:32 build.sh
여기서 맨 앞부분에 있는 'drwxr-xr-x'와 같은 부분이 권한을 표시하고 있는 부분입니다.


각각의 알파벳들은
d : 디렉토리 구분 (d이면 디렉토리, -이면 파일)
r : 읽기 권한
w : 쓰기 권한
x : 실행 권한
을 나타내고 있습니다. 그리고 맨 앞자리는 디렉토리, 그 다음 각 3자리씩은 소유자 권한, 그룹 권한, 전체 권한을 나타내고 있습니다.

즉,
     d     /     rwx      /     r-x     /    r-x
디렉토리 / 소유자 권한 / 그룹 권한 / 전체 권한
와 같습니다.


이제 권한 설정을 바꾸는 명령어에 대해서 알아보겠습니다. 리눅스에서 권한 설정을 바꾸는 명령어는 'chmod'입니다.
보통은 습관적으로 'chmod 777 [이름]'이라고 하는데, 이 777에 대해서 알아봅시다.

위의 권한의 rwx 각각은 r(4), w(2), x(1)의 값을 가지고 있습니다.
즉, r + w + x의 값은 7이 되는거죠.

결국 777은 소유자, 그룹, 전체 권한을 모두 rwx로 바꾸겠다는 뜻입니다.


감사합니다. +_+;

 
 
저작자 표시 비영리 변경 금지

 

 

'헬로마켓'과 함께하는 스마트한 중고 아이템 거래

https://www.hellomarket.com


4
profile

nike outlet

June 04, 2022
*.125.234.62

https://www.yeezyshoes.us.com/ Yeezy Shoes
https://www.yeezyshoes.us.com/ Yeezy
https://www.yeezyshoes.us.com/ Adidas Yeezy
https://www.louissvuitton.de/ Louis Vuitton
https://www.louissvuitton.de/ Louis Vuitton Online Shop
https://www.adidasyeezysshoes.com/ Adidas Yeezy
https://www.adidasyeezysshoes.com/ Yeezy Shoes
https://www.adidas-yeezys.com/ Adidas Yeezy
https://www.yeezys-slides.com/ Yeezy Slides
https://www.yeezyssupply.us.com/ Yeezy Supply
https://www.goldengoosesneakerss.com/ Golden Goose
https://www.goldengoosesneakerss.com/ Golden Goose Sneakers
https://www.airjordans1.us/ Air Jordan 1
https://www.airjordans1.us/ Jordan 1
https://www.jordan-shoes.co/ Jordan Shoes
https://www.jordan1.co/ Jordan 1
https://www.airjordan1.co/ Air Jordan 1
https://www.airjordan1.co/ Jordan 1
https://www.yeezy-slides.co.uk/ Yeezy slides
https://www.yeezyslides.net/ Yeezy slides
https://www.yeezy-s.us.com/ Yeezy
https://www.yeezy-s.us.com/ Yeezys
https://www.adidas-yeezy.us.com/ Adidas Yeezy
https://www.raybansunglassess.com/ Ray Ban Sunglasses
https://www.raybansglasses.us.com/ Ray Ban Glasses
https://www.chinafjjianzhan.com/ 天目茶碗
https://www.chinafjjianzhan.com/ 曜変天目茶碗
https://www.chinafjjianzhan.com/ 曜変天目
https://www.nike-shoess.us.com/ Nike Shoes
https://www.jordan-4s.us.com/ Jordan 4S
https://www.jordan-4s.us.com/ Jordan 4
https://www.nikeoutlet-shoes.us.com/ Nike Outle
https://www.jordan-1s.us.com/ Jordan 1S
https://www.yeezysyeezyshoes.us.com/ Yeezy Shoes
https://www.yeezy-supplys.us.com/ Yeezy Supply
https://www.yeezysslides.us.com/ Yeezy Slides
https://www.cocochanels.com/ Coco Chanel
https://www.cocochanels.com/ Chanel
https://www.cocochanels.com/ Chanel Handbags
https://www.cocochanels.us.com/ Coco Chanel
https://www.cocochanels.us.com/ Chanel
https://www.cocochanels.us.com/ Chanel Handbags
https://www.chanelwestcoast.us.com/ Chanel West Coast
https://www.houseofgucci.us.com/ gucci
https://www.yeezy350v2.us.com/ Yeezy 350
https://www.yeezy-slides.us/ Yeezy Slides
https://www.yeezysslides.us/ Yeezy Slides
https://www.yeezy-slides.com/ Yeezy Slides
https://www.yeezy-slides.com/ Yeezy
https://www.yeezysupplys.us/ Yeezy Supply
https://www.yeezy-supplys.us/ Yeezy Supply
https://www.adidas-yeezy-shoes.us/ Yeezy Shoes
https://www.adidasyeezyshoes.us/ Yeezy Shoes
https://www.nike-stores.us.com/ Nike Store
https://www.nikeshoesoutlets.us/ Nike Shoes
https://www.nikeshoesoutlets.us/ Nike Outlet
https://www.nikeshoess.us/ Nike Shoes
https://www.nike-outlets.us/ Nike Outlet
https://www.raybansale.us/ Ray Ban Sunglasses
https://www.raybansale.us/ Ray ban Sale
https://www.coachoutletonlines.us/ Coach
https://www.coachoutletonlines.us/ Coach outlet
https://www.gucci-outlets.us/ Gucci Outlet
https://www.lvoutlets.us/ Louis Vuitton Outlet
https://www.lvoutlets.us/ Louis Vuitton
https://www.lvoutlets.us/ Louis Vuitton Handbags
https://www.lvoutlet.us.com/ Louis Vuitton Outlet
https://www.lvoutlet.us.com/ Louis Vuitton
https://www.rolexwebsite.us/ Rolex Watches
https://www.rolexwatchwebsite.us/ Rolex Watches
https://www.rolexwatchs.us/ Rolex Watches
https://www.rolexwebsite.us/ Rolex
https://www.rolexwatchwebsite.us/ Rolex
https://www.rolexwatchs.us/ Rolex
https://www.thenorthfaceoutlets.us.com/ North Face Outlet
https://www.thenorthfaceoutlets.us.com/ North Face
https://www.thenorthfaceoutlets.us.com/ The North Face
https://www.nikejordanshoes.us.com/ Nike Shoes
https://www.nikejordanshoes.us.com/ Nike Outlet Store
https://www.yeezy-slides.us.com/ Yeezy Slides
https://www.yeezy-shoess.us.com/ Yeezy Shoes
https://www.yeezysupplys.us.com/ Yeezy Supply
https://www.yz-shoes.us.com/ Yeezy Shoes
https://www.yzshoes.us.com/ Yeezy Shoes
https://www.burberrysales.us.com/ Burberry Sale
https://www.burberrysales.us.com/ Burberry Outlet
https://www.supplyyeezys.us.com/ Yeezy Supply
https://www.pandoranecklace.us.com/ Pandora Necklace
https://www.mkoutlet.us.com/ Michael Kors Outlet
https://www.mkoutlet.us.com/ Michael Kors
https://www.shoesoffwhite.us.com/ Off White Shoes
https://www.offwhite-shoes.com/ Off White Shoes
https://www.moncleroutletfactory.us.com/ Moncler Outlet
https://www.moncleroutletfactory.us.com/ Moncler Factory
https://www.monclervests.us.com/ Moncler Vest
https://www.monclercoats.us.com/ Moncler Coat
https://www.brambleberry.us.com/ Burberry Outlet Online
https://www.michaelkorsoutletbag.us.com/ Michael Kors Outlet
https://www.nikesuk.co.uk/ Nike UK
https://www.nikeoutletuk.uk.com/ Nike UK
https://www.nikeoutletuk.uk.com/ Nike outlet
https://www.nike-s.us/ Nike
https://www.nikeoutlet-s.us.com/ Nike Outlet
https://www.nikeoutlet-store.us/ Nike Outlet
https://www.nikestore-s.us/ Nike Store
https://www.nikestore-s.us.com/ Nike Store
 
profile

Anthony

July 14, 2022
*.26.79.65

Ferragamo Belt Nike Outlet Air Jordan Retro Red Bottom Shoes Nike Free Run Moncler Outlet Nike Shoes Pandora Earrings Nike Cortez Men Nike Outlet Lebron 16 Michael Jordan Shoes Pandora Jewelry Official Site Vans Pandora Earrings Jordan Kids Jordan Retro 11 Nike Running Shoes For Women Christian Louboutin Outlet Louboutin Shoes Christian Louboutin Nike Clearance Christian Louboutin Nike Outlet Store NMD R1 Asics Shoes Outlet Nike Air Max 95 Golden Goose Nike Factory Outlet Store Online Red Bottoms Nike Black Friday Deals Nike Shoes Pandora UK Nike Clearance Yeezy 700 Nike Outlet Nike KD Nike Shoes Nike Kyrie Pandora Jewelry Stan Smith Adidas Nike Zoom Pegasus 35 Christian Louboutin Shoes Nike Air More Uptempo Louboutin Shoes Christian Louboutin Nike Outlet Store Online Shopping Pandora Jewelry Official Site Nike Sneakers For Women Nike Shoes Ultraboost Nike Presto Fjallraven Kanken Nike Shoes Nike Clearance Store Louboutin Heels Nike Cortez Men Pandora Bracelets For Women Yeezy 500 Blush Nike Air Max 98 Gundam Nike Shoes 2019 Lebron James Shoes Nike Factory Outlet Store Online Mens Nike Shoes Nike Air Max 2019 Lebron 17 Nike 720 Pandora Rings Yeezy Nike Shoes Nike Outlet Store Online Shopping Christian Louboutin Shoes Air Max 2019 Nike Air Max 98 Nike Outlet Online Cheap Nike Shoes Nike Shoes Lebron Shoes Nike Lebron 16 Nike Shoes For Men Nike Sneakers Nike Basketball Shoes Nike Air Max 720 Nike Shoes Nike Factory Pandora Charms Jordan Shoes Nike Factory Store Nike Air Zoom Air Force 1 Air Force Ones Nike Air Max 270 Womens Red Bottom Shoes Adidas NMD Jordan 11 Blue Adidas Yeezy Pandora Necklaces Fjallraven Kanken Backpack Nike Running Shoes Kyrie Irving Shoes Nike Clearance Outlet Pandora Bracelet Pandora Outlet Nike Shoes Red Bottom Heels Jordans Sneakers Adidas Yeezy Yeezy Adidas Sneakers Jordan 13 Retro Pandora Ferragamo Christian Louboutin Outlet Nike Running Shoes For Men Jordans Sneakers Nike Outlet Store Online Huarache Sandals Nike Air Force Nike Outlet Nike Clearance Pandora Charms Louboutin shoes Valentino Shoes Nike Outlet Nike Outlet Online Christian Louboutin Shoes Sale Outlet Yeezy Boost 350 Nike Basketball Shoes Yeezy Boost Yeezy Boost Nike Free Run Nike Air Force 1 Women Ferragamo Pandora Charms Nike Sneakers Nike Air Max 95 Essential Nike Store Air Jordan Shoes Pandora Adidas Ultra Boost Cheap Yeezys Pandora Bracelets Clearance
profile

Off White

July 29, 2022
*.77.242.100

Off White Air Jordan 1 ,

Golden Goose Women Sneakers ,

Golden Goose Starter ,

Golden Goose Ball Star ,

Off White x Air Jordan 5 ,

Off White x Nike Blazer ,

Travis Scott Air Jordan 4 ,

Golden Goose Stardan ,

Alexander McQueen Sandals ,

Travis Scott Air Jordan 6 ,

Alexander McQueen Sneakers ,

Golden Goose Shoes ,

Off White Air Jordan ,

Travis Scott x Nike Shoes ,

Alexander McQueen Trainers ,

Off White Nike React ,

Alexander McQueen Laceups ,

Off White Nike Blazer ,

Off White Air Max 90 ,

Off White Air Max 1 ,

Golden Goose Purestar ,

Off White Outlet ,

Golden Goose Yeah ,

Off White Nike Dunks ,

Off White Air Vapormax ,

Off White x Nike Shoes ,

Golden Goose Francy ,

Off White x Air Max 97 ,

Off White Nike Presto ,

Alexander McQueen Loafers ,

Alexander McQueen Pumps ,

Off White Nike Zoom ,

Travis Scott Air Max 1 ,

Golden Goose Men Sneakers ,

Golden Goose Slide ,

Off White x Air Presto ,

Off White Custom Shoes ,

Off White x Nike Dunk ,

Alexander McQueen Slides ,

Golden Goose Mid Star ,

Off White Air Max 97 ,

Off White Nike Shoes ,

Alexander McQueen Sneakers ,

Off White x Air Max 90 ,

Off White Air Jordan 5 ,

Golden Goose Space Star ,

Alexander McQueen Runner Shoes ,

Off White x Nike ,

Off White x Air Jordan 1 ,

Off White Air Max 270 ,

Travis Scott Air Max 270 ,

Golden Goose Superstar ,

Golden Goose Hi Star ,

Alexander McQueen Boots ,

Off White x Air Jordan Shoes ,

Off White Air Force 1 ,

Travis Scott Air Jordan 1 ,

Off White x Air Force 1 ,

Travis Scott SB Dunks ,

Off White Air Jordan 4 ,

profile

Joseph

September 13, 2022
*.255.168.18

Jordan Shoes Jordan 12's Nike Outlet Online Nike Store Kevin Durant Shoes Air Max 98 Pandora Bracelets For Women Nike Jordan 1 New Jordans Coming Out Nike Cyber Monday Nike Factory Outlet NMD Jordan Shoes Christian Louboutin Shoes Air Jordans Sneakers Pandora Jewelry Nike Jordan 1s Nike Sneakers For Women Cheap Nike Shoes Lebron Shoes 2019 Nike Air Jordans Adidas NMD Yeezys Jordan 8s Air Jordans Nike Shoes Asics Outlet Nike Air Max 720 Pandora Necklaces For Women Nike Clearance Nike Clearance Outlet Nike Air Max 720 Christian Louboutin Jordan 14 Ferragamo Christian Louboutin Shoes Nike Factory Outlet Nike Free Run Pandora Charms Louboutin shoes Nike Shoes For Women Lebrons Shoes Yeezy Boost 350 Pandora Earrings Nike Outlet Nike Running Shoes Louboutin Nike Outlet Cheap Nike Shoes Fjallraven Kanken Backpack Nike Air Zoom Ferragamo Outlet Nike Free Run Nike Outlet Pandora Jewelry Nike Clearance Nike Sneakers For Men Jordan 10 Nike Huarache Women Nike Outlet Red Bottom Heels Red Bottom Shoes For Women Air Jordan 11 Nike Air Max 98 Ultra Boost Pandora Sale Vans Shoes Pandora UK Adidas Yeezy Jordans 1 New Nike Fjallraven Backpack Pandora Outlet Nike Shoes Jordan AJ 1 Mid Nike Presto Jordan 4's Nike Air Max 2019 Nike Air Force Jordan Retro 9 Womens Nike Shoes Louboutin Shoes Air Jordan Retro Yeezy 700 Jordan Sneakers Red Bottom Shoes For Women Moncler Outlet Kids Jordan Shoes Pandora Nike Factory Store Adidas Ultra Boost Jordan 1 Mids Jordan Shoes For Men Pandora Official Website Adidas Sneakers For Men Jordan Retro 11 Nike Air Max 270 Nike Shox For Men Lebron 16 Valentino Sneakers Pandora Charms Yeezy Boost 350 V2 Nike Shoes Yeezy 500 Blush Pandora Nike Air Uptempo Nike Air Max 720 Jordan 11 Blue Nike Zoom Air Jordan 7 Cheap Yeezy Air Force 1 High Cheap Basketball Shoes Nike Outlet Nike Sneaker New Nike Shoes 2019 Nike Air Force 1 Adidas Yeezy Boost 350 Nike Shoes Nike Air Mag Nike Outlet Store Online Shopping Nike Outlet Store Online Shopping Air Max 95 Lebron 16 Nike Clearance Outlet Pandora Rings Nike Sneakers Nike Outlet Store Online Shopping Jordan Retro 32 Pandora Jewelry Pandora Charm Bracelet Jordan Retro 11 Pandora Jewelry Nike Air Max 270 Nike Factory Michael Jordan Shoes Louboutin Shoes Christian Louboutin Outlet Kyrie Irving Shoes Jordan 4 Retro Nike Outlet Store Online Basketball Shoes Air Force Ones Nike Louboutin Shoes Golden Goose Pandora Bracelets Charms Kyrie Irving Shoes Air Jordan 13 Retro UNC Jordan 1 Louboutin Outlet Nike Factory Outlet Store Online Nike Clearance Store Nike Shoes Jordan 13 Retro Pandora Ring Nike Running Shoes Jordan 3 Jordan 1 High Nike Cortez
문서 첨부 제한 : 0Byte/ 2.00MB
파일 제한 크기 : 2.00MB (허용 확장자 : *.*)
List of Articles
번호 제목 글쓴이 날짜 조회 수
13 Centos7 firewall-cmd 설정방법 제리 2020-01-08 52339
12 CentOS7 SSH 포트 변경 제리 2019-07-26 36150
11 리눅스 파일, 폴더 오너 바꾸기 [1] 제리 2015-08-27 72384
10 리눅스 파일내용에서 단어 검색 [2] 제리 2015-08-18 77281
9 리눅스 jdk(java) 설치및 적용 [2] 제리 2015-01-12 105992
8 리눅스 reboot 톰켓 자동실행 [1] 제리 2014-01-21 70562
7 톰켓 2개이상 구동 제리 2013-12-30 111179
6 심볼릭 링크(ln) 만들기 및 확인/삭제 제리 2013-12-30 66508
5 fedora Linux에 Telnet 또는 SSH로 접속했을 때 한글이 깨지는 문제 해결 방법 [1] 제리 2011-10-20 46300
4 리눅스 기본 명령어 제리 2011-10-19 90695
3 리눅스 vi 명령어 [4] 제리 2011-10-19 86322
» 리눅스 권한설정 chmod [4] 제리 2011-10-19 71995
1 tar 압축하기 압축풀기 [1] 제리 2011-10-19 142033

Program Note 로그인 :)