내배캠 주요 학습/TIL : Today I Learned
wsl에서 안되면 power shell을 써라
chaeyoung-
2023. 7. 26. 14:11
wsl에서 아무리 해도 chmod 400 (파일명) 명령어가 정상 수행이 되지 않았다.
chmod 777 (파일명) 은 되지만, 400은 윈도우 환경에서 되지 않는다.
방법을 규준님과 찾아보다가..
power Shell에서 시도해 보았다.
된다..
wsl에서는 같은 명령어로는 모든 권한이 취소되는 이상한 현상을 발견했다.
power shell에서는 잘되지 여기서 AWS SSH를 활용하면 될 것이다.
wsl이 이상하다는 결론이 나왔다.
wsl이 안켜지는 분들도 있기 때문에 역시 power shell이 최고다.
reference:
https://ombujeong.tistory.com/36