What Is the D in Linux Permissions?
Contents

The permissions are written as follows: the first bit is either a dash or the letter d. Dash means it’s a file and d stands for directory. Note that the first bit can also be an l if the file name is a link.

What is the meaning of D in Linux?

It means that it is a directory. The first mode field is the “special file” designator; regular files display as – (none). As for which possible letters could be there, on Linux the following exist: d (directory)

What are the permissions in Linux?

The type of permission:

  • +r adds read permission.
  • -r removes read permission.
  • +w adds write permission.
  • -w removes write permission.
  • +x adds execute permission.
  • -x removes execute permission.
  • +rw adds read and write permissions.
  • +rwx adds read and write and execute permissions.
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest