← Back to list

Why Linux Permissions Matter for Security and Compliance

How simple Linux controls like chmod, chown, and logging reduce real business risks.

Asad · 2026-05-12 12:10 · 0 claps · 2.2 min read
#cybersecurity #security #grc #linux #chmod
Open on Medium ↗
Wiki topics: 🔒 · Cybersecurity 🔓 · Open Source

Why Linux Permissions Matter for Security and Compliance

How simple Linux controls like chmod, chown, and logging reduce real business risks.

Why Linux Permissions Matter for Security and Compliance

As I continue my journey into cybersecurity and GRC, I’m starting to realize something important:

Security is not only about hackers, malware, or advanced attacks.

Sometimes, security begins with something as simple as file permissions.

During today’s Linux practice lab, I worked with:

  • chmod
  • chown
  • journalctl
  • Linux filesystem permissions
  • logging and monitoring

At first, these looked like simple technical commands. But after practicing with them, I understood that they are actually security controls.

Understanding chmod

The chmod command changes file permissions in Linux.

For example:

chmod 777 public.txt

This gives everyone permission to:

  • read;
  • write;
  • execute.

At first, this may seem convenient. However, from a security perspective, this is extremely dangerous.

If every user can modify or execute a file, attackers or malware may abuse these permissions. This can lead to:

  • unauthorized access;
  • data tampering;
  • malware execution;
  • privilege misuse.

Then I tested:

chmod 600 secret.txt

This allows only the owner to read and write the file.

From a cybersecurity perspective, this reduces the risk of unauthorized access and protects sensitive information.

That’s when I realized:

Linux permissions are not just technical settings. They are access control mechanisms.

Why Ownership Matters

I also practiced using chown, which changes file ownership.

Incorrect ownership can expose sensitive files to unauthorized users and create security risks inside a system.

Ownership is another important layer of access control.

Logging and Monitoring

Another important topic I practiced today was logging.

Using journalctl, I explored:

  • error logs;
  • critical logs;
  • live monitoring.

For example:

sudo journalctl -p err -b

shows system errors since boot.

And:

sudo journalctl -f

allows real-time monitoring of logs.

This helped me understand why logging is critical in cybersecurity and GRC.

Without logs:

  • organizations cannot properly investigate incidents;
  • suspicious activity may go unnoticed;
  • there is no audit evidence.

Logs are not just technical records. In GRC, they become evidence of monitoring, accountability, and operational security.

ISO 27001 Connection

Today’s Linux lab also helped me understand how technical controls connect to compliance frameworks like ISO 27001.

For example:

  • permissions and ownership relate to access control;
  • logging relates to operational security and monitoring.

This made Linux feel much more connected to real business security and compliance.

Final Thoughts

Before learning Linux security basics, I thought cybersecurity was mainly about attacks and hacking.

Now I’m beginning to understand that good security is often built from small controls working together:

  • permissions;
  • ownership;
  • monitoring;
  • logging;
  • least privilege.

Even simple Linux commands can directly reduce business risks.


메타데이터
post_id
c2b8e834b6fd
slug
why-linux-permissions-matter-for-security-and-compliance-c2b8e834b6fd
url
https://medium.com/@asadgulyamov09/why-linux-permissions-matter-for-security-and-compliance-c2b8e834b6fd
canonical_url
https://medium.com/@asadgulyamov09/why-linux-permissions-matter-for-security-and-compliance-c2b8e834b6fd
author_url
https://medium.com/@asadgulyamov09
status
ok
fetched_at
2026-06-23 03:48:11