[GH-ISSUE #1380] 在 app.ini 中,将 GrantedAccessPath 配置为根目录将报错 #768

Closed
opened 2026-02-26 12:09:23 +03:00 by kerem · 1 comment
Owner

Originally created by @Purgepyro on GitHub (Oct 6, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1380

Originally assigned to: @0xJacky on GitHub.

Describe the bug
在 app.ini 中
配置
[backup]
GrantedAccessPath = /
在 Storage Path 填写任意路径都会报错 Path not in granted access paths: <路径>

Expected behavior
配置为根目录后填写任何目录都不应该报错

Screenshots

Image

Info (please complete the following information):

  • Server OS: Debian 13.1
  • Server Arch: x64
  • Nginx UI Version: 2.2.0-patch1
Originally created by @Purgepyro on GitHub (Oct 6, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1380 Originally assigned to: @0xJacky on GitHub. **Describe the bug** 在 app.ini 中 配置 [backup] GrantedAccessPath = / 在 Storage Path 填写任意路径都会报错 Path not in granted access paths: <路径> **Expected behavior** 配置为根目录后填写任何目录都不应该报错 **Screenshots** <img width="903" height="769" alt="Image" src="https://github.com/user-attachments/assets/db9a4bc2-bac2-4074-9278-92281dabc1b4" /> **Info (please complete the following information):** - Server OS: Debian 13.1 - Server Arch: x64 - Nginx UI Version: 2.2.0-patch1
kerem 2026-02-26 12:09:23 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (Oct 8, 2025):

Fixed in 41f99ae

<!-- gh-comment-id:3379327243 --> @0xJacky commented on GitHub (Oct 8, 2025): Fixed in [41f99ae](https://github.com/0xJacky/nginx-ui/commit/41f99ae159cf6d438cee3e3930db872e78c149f5)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#768
No description provided.