[software development] 安装VS配置仓颉开发环境后,在创建项目时提示权限不够。
Tofloor
poster avatar
luoyuran
deepin
2024-10-29 11:41
Author

安装VS配置仓颉开发环境后,在创建项目时提示权限不够,不知道怎么弄了,请高人指点。

[Execute Time - 2024/10/29 11:30:57]
no open work folder!
[Execute Time - 2024/10/29 11:30:58]
no open work folder!
[Execute Time - 2024/10/29 11:30:58]
Error: Command failed: bash -c "source '/home/xMan-V/cangjie'/envsetup.sh&&cjpm -v"
bash: 行 1: /home/xMan-V/cangjie/envsetup.sh: 权限不够
Reply Favorite View the author
All Replies
川顺页
deepin
2024-10-29 12:20
#1
chmod +x /home/xMan-V/cangjie/envsetup.sh
Reply View the author
luoyuran
deepin
2024-10-29 13:00
#2
川顺页
chmod +x /home/xMan-V/cangjie/envsetup.sh

加了sudo以后执行了,但是创建项目还是提示同样的错误,问题还是存在,谢谢帮助。

Reply View the author
luoyuran
deepin
2024-10-29 13:01
#3
川顺页
chmod +x /home/xMan-V/cangjie/envsetup.sh
[Execute Time - 2024/10/29 12:59:30]
no open work folder!
[Execute Time - 2024/10/29 12:59:30]
no open work folder!
[Execute Time - 2024/10/29 12:59:30]
Error: Command failed: bash -c "source '/home/xMan-V/cangjie'/envsetup.sh&&cjpm -v"
bash: 行 1: /home/xMan-V/cangjie/envsetup.sh: 权限不够
Reply View the author
xye9008
deepin
2024-10-29 16:03
#4

sudo chmod -R 777 /home/xMan-V/cangjie 给这个目录授权所有权限试试

Reply View the author
luoyuran
deepin
2024-10-31 14:46
#5
xye9008

sudo chmod -R 777 /home/xMan-V/cangjie 给这个目录授权所有权限试试

🙏🙏🙏

用了这条命令以后,在修改bash的环境变量以后,VS初次基本运行正常了。

Reply View the author