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

The integrated terminal cannot find certain files (commands) #40544

Closed
rakesh-k opened this issue Dec 20, 2017 · 6 comments
Closed

The integrated terminal cannot find certain files (commands) #40544

rakesh-k opened this issue Dec 20, 2017 · 6 comments
Assignees
Labels
info-needed Issue requires more information from poster terminal Integrated terminal issues

Comments

@rakesh-k
Copy link

rakesh-k commented Dec 20, 2017

  • VSCode Version: 1.19.0
  • OS Version: linux-mint 4.10.0-38-generic

Steps to Reproduce:

  1. cd /usr/bin
  2. ls go

Within integrated terminal:

rakesh@linux-mint /usr/bin $ ls go
ls: cannot access 'go': No such file or directory
rakesh@linux-mint /usr/bin $ ls -ld .
drwxr-xr-x 2 nfsnobody nfsnobody 36864 Dec 31  1969 .
rakesh@linux-mint /usr/bin $

in an external shell:

rakesh@linux-mint /usr/bin $ ls go
go
rakesh@linux-mint /usr/bin $ ls -ld .
drwxr-xr-x 2 root root 69632 Dec 19 21:50 .
rakesh@linux-mint /usr/bin $ 

Wonder why the id's are diff for the /usr/bin directory under the integrated terminal.

Reproduces without extensions: Yes/No

@vscodebot vscodebot bot added the terminal Integrated terminal issues label Dec 20, 2017
@Tyriar
Copy link
Member

Tyriar commented Dec 20, 2017

Do you know what nfsnobody is? My guess is this is something to do with users/permissions and the fact that the VS Code terminal is inheriting the environment from VS Code.

@Tyriar Tyriar added the info-needed Issue requires more information from poster label Dec 20, 2017
@rakesh-k
Copy link
Author

the nfsnobody is the group-id 65534 and actually it is listed as nogroup within the /etc/group file. But I am surprised as to why the integrated terminal can not find the files within the directory when it has the right permissions?

Linux mint installation shows the programs under the startup menu and I execute from there rather than from shell. Do let me know what other information can I provide and would be glad to do so.

@Tyriar
Copy link
Member

Tyriar commented Dec 21, 2017

@rakesh-k does the same thing happen when you launch vscode from a terminal?

@vscodebot vscodebot bot closed this as completed Dec 28, 2017
@vscodebot
Copy link

vscodebot bot commented Dec 28, 2017

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@ishunyu
Copy link

ishunyu commented Feb 1, 2018

@rakesh-k I had the same problem when I installed vscode from the Software Manager. Instead I used the independent deb file to install and the problem went away.

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 11, 2018
@Tyriar
Copy link
Member

Tyriar commented Mar 1, 2018

See #44646, the problem is with the unofficial flathub package. Using the official deb instead as @ishunyu suggests is the fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

3 participants