FirstLinux.com: Smart card: Understanding Permissions

Written By
Web Webster
Web Webster
Aug 20, 2000

[ Thanks to Steve
Emms
for this link. ]

“File permissions are an important concept to understand because
many users often share the resources of a Linux system. Sometimes a
single Linux machine might be ‘home’ to hundreds of different
users. Each user may want to stop others looking at their
files/directories, or to share data with some/all of the other
users of the systems. File permissions allow this to be possible.
These permissions ensure the ability to read or write individual
files is given to an authorised individual. Only the system
administrator (the ‘root’ account) has unrestricted access to all
the files. Having file permissions set correctly is an
important issue for a system administrator; many systems have been
compromised because of incorrectly set permissions.”

“The command, “chmod” lets you change the permission mode
settings of a file/directory. You also need to specify 3 digits
with the chmod command. These digits dictate what permissions will
be applied. The first digit determines the permissions for the
owner, the second digit determines the permissions for the group,
and the third for ‘others’.”

“To change the permissions of the file joind.ps we would
type:

chmod XYZ joind.ps , where XYZ represents 3 digits e.g. 666

The first digit is the sum of 4 for read permission, 2 for write
permission and 1 for execute permissions. So to give a file read
and execute permission the digit would be 5, for read only would be
4. The same principle applies to the second and third digits.”

Smart
Card

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

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.