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

Control Plugin LocalDiskRuleStorage localRuleBaseDir mkdir bug #11619

Closed
godhth opened this issue Jan 9, 2024 · 1 comment · Fixed by #11620
Closed

Control Plugin LocalDiskRuleStorage localRuleBaseDir mkdir bug #11619

godhth opened this issue Jan 9, 2024 · 1 comment · Fixed by #11620
Assignees
Labels

Comments

@godhth
Copy link
Contributor

godhth commented Jan 9, 2024

Describe the bug
If a custom directory or non-existent directory is used, mkdir is used instead of mkdirs to create a parent directory, resulting in a directory creation failure, and thus a file creation failure.
当使用自定义目录或不存在的目录时,使用mkdir而没有使用mkdirs创建父目录导致目录创建失败,进而文件创建失败。
image
image

Expected behavior
A clear and concise description of what you expected to happen.

Actually behavior
A clear and concise description of what you actually to happen.

How to Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See errors

Desktop (please complete the following information):

  • OS: [e.g. Centos]
  • Version [e.g. nacos-server 1.3.1, nacos-client 1.3.1]
  • Module [e.g. naming/config]
  • SDK [e.g. original, spring-cloud-alibaba-nacos, dubbo]

Additional context
Add any other context about the problem here.

@godhth
Copy link
Contributor Author

godhth commented Jan 9, 2024

@i will solve it@

@godhth godhth changed the title LocalDiskRuleStorage localRuleBaseDir bug Control Plugin LocalDiskRuleStorage localRuleBaseDir mkdir bug Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants