I noticed this several times today. If I type
cd ../Directory to change to another directory, it prints "bash: cd: write error: Success". I can't determine what other previous commands might be related to this.
typeset -fprints nothing.
type -a cdprints "cd is a shell builtin".
echo $CDPATHprints an empty line.
$BASH_VERSIONprints "bash: 4.2.37(1)-release: command not found".
- I only noticed this 2-3 times. The initial directory and target directory were identical in both situations. I changed directories in this manner many other times, but did not encounter the error always.
What could be causing this?