Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[에이전트]삭제 정책>예외 경로 대소문자 구분 필요 #34

Closed
jikim2000 opened this issue Oct 30, 2020 · 1 comment
Closed

Comments

@jikim2000
Copy link
Contributor

  1. 에이전트버전 : [2.0.0.11]
  2. 현상
  • 예외경로 /home/Log/*
  • 검사경로 /home 설정 후, 삭제 정책 실행 시 /home/log,/home/Log,/home/LOG 제외한 나머지만 삭제
    -> /home/Log만 예외하고 나머지는 삭제되어야 정상
    ** 검사 경로는 대소문자 구분하여 삭제 됨
    TEST 경로 : /home/Log, /home/LOG, /home/log
jikim2000 added a commit to jikim2000/agent that referenced this issue Oct 30, 2020
확장자 nanny-i#33 및 예외경로 대소문자 구분 수정 nanny-i#34
@jhrang
Copy link
Contributor

jhrang commented Oct 30, 2020

  1. 원인
  • Windows에서는 대소문자 구분이 없기 때문에 해당 모든 경로 및 파일에 대하여 소문자로 변환하여 비교
  1. 해결
  • 대소문자를 구분하여 경로 및 파일 비교하도록 수정

@jhrang jhrang closed this as completed Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants