From 48c6916fdcb8f2901b7210baddc939ff08aced48 Mon Sep 17 00:00:00 2001 From: wjuszczyk <122820239+wjuszczyk@users.noreply.github.com> Date: Mon, 27 Apr 2026 20:39:57 +0200 Subject: [PATCH] Fix for file's octal permissions --- content/chapters/part1/chapter-03.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/chapters/part1/chapter-03.md b/content/chapters/part1/chapter-03.md index c737317..96fcc87 100644 --- a/content/chapters/part1/chapter-03.md +++ b/content/chapters/part1/chapter-03.md @@ -886,7 +886,7 @@ This adds execute permission (`+x`) for the user (`u`). **Octal mode** ```sh -% chmod 755 script.sh +% chmod 750 script.sh ``` Here, numbers represent permissions: @@ -895,7 +895,7 @@ Here, numbers represent permissions: - 5 = r-x - 0 = --- -So `755` means: owner = rwx, group = r-x, others = r-x. +So `750` means: owner = rwx, group = r-x, others = ---. ### Changing Ownership