GScan icon indicating copy to clipboard operation
GScan copied to clipboard

Permission denied: '/root/GScan-master/log/'

Open RuoJi6 opened this issue 1 month ago • 0 comments

root@xxxx:~/GScan-master# python3 GScan.py --full

  _______      _______.  ______      ___      .__   __. 
 /  _____|    /       | /      |    /   \     |  \ |  |    {version:v0.1}
|  |  __     |   (----`|  ,----'   /  ^  \    |   \|  | 
|  | |_ |     \   \    |  |       /  /_\  \   |  . `  |    {author:咚咚呛}
|  |__| | .----)   |   |  `----. /  _____  \  |  |\   | 
 \______| |_______/     \______|/__/     \__\ |__| \__|    http://grayddq.top
                                                        
    
    
Segmentation fault (core dumped) /root/GScan-master/log/
Traceback (most recent call last):
  File "/root/GScan-master/GScan.py", line 24, in <module>
    main(os.path.dirname(os.path.abspath(__file__)))
  File "/root/GScan-master/lib/core/option.py", line 87, in main
    mkfile()
  File "/root/GScan-master/lib/core/common.py", line 217, in mkfile
    if not os.path.exists(SYS_PATH + '/log/'): os.mkdir(SYS_PATH + '/log/')
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/root/GScan-master/log/'
xxxx@pve:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

RuoJi6 avatar Dec 09 '25 03:12 RuoJi6