分页: 1 / 1
有誰知道PAC Manager裡的local shell options要怎麼設定
发表于 : 2018-07-07 23:42
由 nightstarl
如題
本人使用ubuntu 18.04
PAC manager版本 4.5.5.8
使用PACShell時,不管執行什麼,會一直出現Permission denied
bash: /usr/bin/sudo: Permission denied
有辨法解決嗎?
Re: 有誰知道PAC Manager裡的local shell options要怎麼設定
发表于 : 2018-07-08 8:23
由 poloshiao
Re: 有誰知道PAC Manager裡的local shell options要怎麼設定
发表于 : 2018-07-09 15:18
由 nightstarl
感覺好像是PAC的權限不足
我在PAC的local shell options預設的設定如下:
Shell Binary:$SNAP/bin/bash
Shell Option
Initial Directory:/home/michael/snap/pac-vs/common
PACShell的執行狀況如下:
michael@michael-X455LD:~$ sudo
bash: /usr/bin/sudo: Permission denied
michael@michael-X455LD:~$ ls
debug ssh zh_TW.UTF-8
michael@michael-X455LD:~$ ls -al
total 36
drwxr-xr-x 8 michael michael 4096 7月 9 14:14 .
drwxrwxrwx 4 michael michael 4096 7月 9 14:14 ..
-rw-rw-r-- 1 michael michael 0 7月 9 14:14 .bashrc
drwxrwxr-x 5 michael michael 4096 7月 9 14:14 .cache
drwxrwxr-x 5 michael michael 4096 7月 9 14:14 .config
drwxrwxr-x 2 michael michael 4096 7月 9 14:14 debug
-rw-rw-r-- 1 michael michael 29 7月 9 14:14 .last_revision
drwxrwxr-x 3 michael michael 4096 7月 9 14:14 .local
drwx------ 2 michael michael 4096 7月 9 14:14 ssh
lrwxrwxrwx 1 michael michael 31 7月 9 14:14 .themes -> /snap/pac-vs/1/usr/share/themes
drwxrwxr-x 3 michael michael 4096 7月 9 14:14 zh_TW.UTF-8
michael@michael-X455LD:~$ sudo vi test
bash: /usr/bin/sudo: Permission denied
michael@michael-X455LD:~$
是不是我要建立一個SNAP的帳號?
Re: 有誰知道PAC Manager裡的local shell options要怎麼設定
发表于 : 2018-07-10 11:30
由 poloshiao
PACShell的執行狀況如下:
michael@michael-X455LD:~$ sudo
bash: /usr/bin/sudo: Permission denied
1. 請提供你上述使用 sudo 指令 所參考的網頁
本人使用ubuntu 18.04
PAC manager版本 4.5.5.8
2. 安裝 pac-vs 指令
https://snapcraft.io/pac-vs
Install with snapd
代码: 全选
sudo snap install pac-vs --channel
2-1. 如果你還沒設定好 snapd 需要先參閱
Don't have snapd? Get set up for snaps.
https://docs.snapcraft.io/core/install-ubuntu
michael@michael-X455LD:~$ sudo
bash: /usr/bin/sudo: Permission denied
3. 不明白 你為何使用 sudo 單一指令 ?
3-1.
使用 snap 指令 請參照
https://docs.snapcraft.io/core/usage
4. 還有任何問題 歡迎再貼文
Re: 有誰知道PAC Manager裡的local shell options要怎麼設定
发表于 : 2018-07-18 11:52
由 trigger
这是用snap装的PAC吧
我意见是不要深究了,因为有替代品,从PAC fork出来的后续项目
https://my.oschina.net/inuxor/blog/1837903