Public bug reported: After reading `man realpath` it should be clear why
$ cd /tmp $ touch a $ realpath ./a/.. realpath: ‘./a/..’: Not a directory occurs. The manpage doesn't contain the word "directory" and thus the error message can't make sense. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: coreutils 8.23-3ubuntu1 Uname: Linux 4.1.1-040101-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.17.2-0ubuntu1.1 Architecture: amd64 CurrentDesktop: Unity Date: Tue Jul 14 21:09:07 2015 InstallationDate: Installed on 2015-06-08 (36 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: coreutils UpgradeStatus: Upgraded to vivid on 2015-06-09 (35 days ago) ** Affects: coreutils (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug vivid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1474519 Title: realpath fails with inexplicable error message "Not a directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1474519/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs