19

I have read this topic, which gave me some info but I feel I am not fully getting it. What does the execute permission actually mean on a folder? I fully understand what it means on a file, but on a folder.

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
Alexandre Bourlier
  • 301
  • 1
  • 2
  • 7

1 Answers1

33

With the execute bit set you have the permission

  1. to cd into the directory
  2. Also for long listing ls -l i.e. to view the meta data of the files inside the directory (Provided that read permission is there for the directory.
Henry Henrinson
  • 185
  • 1
  • 10
flemingovirus
  • 628
  • 5
  • 5
  • Thanks. I know english is not my native language but even now, for me it is not that obvious that the doc means `cd` (and `ls -l`) are allowed, especially `cd` actually. But anyway, thanks a lot for the clarification then. `+x` permission on a folder means I can `cd` it. excellent! – Alexandre Bourlier Aug 15 '14 at 19:25
  • 1
    @UlrichDangel very correct, I've edited my answer. – flemingovirus Aug 15 '14 at 19:35