There are some strange directories appearing in /home (so far, maybe in other locations too).

These directories do not show up in ls but do with bash's tab autocomplete, when doing things like cd.

The exact name of this mystery directory is .directory.

ls and cd fail on these directories.

P.S. There was more than one in /media, but they seem to have disappeared now.

UPDATE: Output of ls -la /home:

total 12
drwxr-xr-x  3 root      root      4096 Jan  3 11:28 .
drwxr-xr-x 23 root      root      4096 Jan  3 11:32 ..
drwxr-xr-x 25 bharadwaj bharadwaj 4096 Jan  8 22:58 bharadwaj
lrwxrwxrwx  1 root      root        44 Jan  3 11:13 .directory -> /etc/kubuntu-default-settings/directory-home
  • 5
    See this answer. – TNW Jan 8 '16 at 18:32
  • 2
    Are you sure they are directores? Please show the full output of e. g. ls -la /home/ – DopeGhoti Jan 8 '16 at 18:32
  • No, I know about hidden files. It's just that I have never before seen that directory in /home. Previously (last 2 years) there was only one directory in /home, i.e. my home directory. – user137998 Jan 9 '16 at 12:38
  • This seems like this long-standing bug report and/or this one, and is not a duplicate. – Michael Homer Jan 9 '16 at 21:43
  • @MichaelHomer Does this serve any purpose? – user137998 Jan 9 '16 at 21:57

They should be files not directories. They are created by the dolphin file browser in order to support per directory behavior of the file browser.

See Here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy