getcwd failed no such file or directory

I am trying to compile ARM code in Ubuntu 12.

Everything is working fine when I put the code in the local directory.

But when I put the code in cited mount directory error shows up:

Here is my setting in fstab

What is going on here? What could cause this error?

/myfunnydir in terminal B: rm -rf

/myfunnydir and finally back in terminal A again: java —version ) – dbm Oct 22 ’12 at 17:41

Если при работе в ОС Linux вы получаете ошибку «getcwd() failed: No such file or directory», то в данной статье пойдет речь о причинах.

Описание

Полностью текст ошибки выглядит вот так:

Это скорей всего происходит из-за того, что Вы пытаетесь запустить команду(ы) из директории, которой больше не существует (была удалена). Чтобы проблема исчезла, необходимо просто перейти в какой-либо существующий каталог. Например в корень файловой системы:

Error when i try to upgrade Debian based distro

if I cancel the process with ctrl+c I have the following message:

1 Answer 1

The error code is obvious: someone removed your current working directory (the directory from which you started the command).

I recommend to type cd to go to your home directory and retry the command.

If someone removed your home directory, chdir to / or /tmp/ .

Not the answer you’re looking for? Browse other questions tagged linux debian apt upgrade or ask your own question.

Hot Network Questions

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2019 Stack Exchange Inc; user contributions licensed under cc by-sa 4.0 with attribution required. rev 2019.11.15.35459

Оцените статью