There's a Lot in the Dot: Filesystem Permissions and Pathnames (Part 2) | Linux Today

There’s a Lot in the Dot: Filesystem Permissions and Pathnames (Part 2)

Written By
JP
Jerry Peek
Mar 26, 2010

[ Thanks to An Anonymous Reader for
this link. ]

“In the previous article we saw how the hidden
directory entries named . (dot) and .. (dot dot) tie the filesystem
together. Those names are hard links that reference the actual
filesystem object through the index number. A directory always has
at least two names: . and its given name. You can always reach the
parent directory through the .. entry.

“Now let’s dig into how pathnames and permissions work
internally. (If you’re familiar with all of this, try the
quiz at the end.)

“Two Paths to the Same Place

“Pathnames can confuse users, but they’re actually simple
when you see how they work. A pathname gives the location of an
object (a file, a directory, a socket, etc.) in the filesystem.
There are two kinds of pathname: absolute (or full) and
relative:”

Complete
Story

JP

Jerry Peek

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.