Notice
Recent Posts
Recent Comments
Link
05-01 04:16
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Archives
Today
Total
관리 메뉴

<<개발일지>>

사용자 권한 유저 변경 본문

맥 다루기

사용자 권한 유저 변경

개발하는지호 2023. 12. 11. 17:07

https://www.lesstif.com/lpt/linux-chown-93127453.html

 

linux chown 명령어 사용법

 

www.lesstif.com

 

sudo로 다운로드 하게 되면 기본적으로 root가 사용자 권한이 된다. 나에게 오게 하려면 윗 링크

나중에 정리 하자

 

 

 

 

예시

 

✘ parkjiho  ~/Desktop/woori_workspace/9.nextjs/nextjs-dashboard   master  ll
total 592
-rw-r--r--    1 root      staff   266B 11 29 21:44 README.md
drwxrwxr-x    6 root      staff   192B 12 19 10:05 app
-rw-r--r--    1 root      staff   201B 12 19 10:05 next-env.d.ts
-rw-r--r--    1 root      staff    94B 11 29 21:44 next.config.js
drwxr-xr-x  434 root      staff    14K 12 19 10:05 node_modules
-rw-r--r--    1 root      staff   263K 12 19 10:05 package-lock.json
-rw-r--r--    1 root      staff   1.0K 11 29 21:44 package.json
drwxr-xr-x    3 parkjiho  staff    96B 12 19 10:11 phase
-rw-r--r--    1 parkjiho  staff     0B 12 19 10:06 phase.txt
-rw-r--r--    1 root      staff    83B 11 29 21:44 postcss.config.js
-rw-r--r--    1 root      staff   167B 11 29 21:44 prettier.config.js
drwxrwxr-x    7 root      staff   224B 12 19 10:05 public
drwxrwxr-x    3 root      staff    96B 12 19 10:07 scripts
-rw-r--r--    1 root      staff   649B 11 29 21:44 tailwind.config.ts
-rw-r--r--    1 root      staff   673B 11 29 21:44 tsconfig.json
 parkjiho  ~/Desktop/woori_workspace/9.nextjs/nextjs-dashboard   master  cd ..
 parkjiho  ~/Desktop/woori_workspace/9.nextjs   master  sudo chown -R parkjiho ./nextjs-dashboard
Password:
 parkjiho  ~/Desktop/woori_workspace/9.nextjs   master  ll
total 0
drwxr-xr-x  13 root      staff   416B 12 19 09:28 firt-next-app
drwxrwxr-x  22 parkjiho  staff   704B 12 19 10:14 nextjs-dashboard
 parkjiho  ~/Desktop/woori_workspace/9.nextjs   master  cd nextjs-dashboard                      
 parkjiho  ~/Desktop/woori_workspace/9.nextjs/nextjs-dashboard   master  ll
total 592
-rw-r--r--    1 parkjiho  staff   266B 11 29 21:44 README.md
drwxrwxr-x    6 parkjiho  staff   192B 12 19 10:05 app
-rw-r--r--    1 parkjiho  staff   201B 12 19 10:05 next-env.d.ts
-rw-r--r--    1 parkjiho  staff    94B 11 29 21:44 next.config.js
drwxr-xr-x  434 parkjiho  staff    14K 12 19 10:05 node_modules
-rw-r--r--    1 parkjiho  staff   263K 12 19 10:05 package-lock.json
-rw-r--r--    1 parkjiho  staff   1.0K 11 29 21:44 package.json
drwxr-xr-x    3 parkjiho  staff    96B 12 19 10:11 phase
-rw-r--r--    1 parkjiho  staff     0B 12 19 10:06 phase.txt
-rw-r--r--    1 parkjiho  staff    83B 11 29 21:44 postcss.config.js
-rw-r--r--    1 parkjiho  staff   167B 11 29 21:44 prettier.config.js
drwxrwxr-x    7 parkjiho  staff   224B 12 19 10:05 public
drwxrwxr-x    3 parkjiho  staff    96B 12 19 10:07 scripts
-rw-r--r--    1 parkjiho  staff   649B 11 29 21:44 tailwind.config.ts
-rw-r--r--    1 parkjiho  staff   673B 11 29 21:44 tsconfig.json

 

'맥 다루기' 카테고리의 다른 글

JDK 버전 바꾸기 ( + 디폴트로 바꾸기)  (0) 2023.12.27
맥북도 분할창을 해보자!  (0) 2023.12.20
TS 오류[TS2792]  (1) 2023.12.18
homebrew  (0) 2023.12.12
visual studio 맥단축키, 브라우저 창도 적용  (1) 2023.11.20