From cf75965c9db489ad18b15a4916b8fa4e51dcc1dc Mon Sep 17 00:00:00 2001 From: Benjamin Date: Thu, 21 Dec 2017 23:38:29 +0100 Subject: [PATCH 1/2] Elaborated on the question regarding permissions --- test-yourself-answers.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-yourself-answers.md b/test-yourself-answers.md index 597c06b..158590d 100644 --- a/test-yourself-answers.md +++ b/test-yourself-answers.md @@ -259,7 +259,8 @@ Type `cmd` under Start > Run on Windows, or `Command + Space`, type `terminal` o #### Why are file permissions important? -prevent unwanted access and/or modification of files. Permissions often are for read, write, execute? +Permissions decides which users have access rights to a file system. Permissions thus work a bit like a lock preventing unwanted users to access and/or modify files. +Unix systems have three different types of permissions: a) The read permission which grants a user the ability to read a file; b) The write permission grants user the ability to modify a file; c) the execute permission grants a user the ability to execute a file. #### How do you view hidden files in a directory? From 4ef9a1528834c8cf87b6b54eccc4a941933ea8e2 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Thu, 21 Dec 2017 23:49:57 +0100 Subject: [PATCH 2/2] Corrected some typos in answer to permission question --- test-yourself-answers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-yourself-answers.md b/test-yourself-answers.md index 158590d..2cefc4a 100644 --- a/test-yourself-answers.md +++ b/test-yourself-answers.md @@ -259,8 +259,8 @@ Type `cmd` under Start > Run on Windows, or `Command + Space`, type `terminal` o #### Why are file permissions important? -Permissions decides which users have access rights to a file system. Permissions thus work a bit like a lock preventing unwanted users to access and/or modify files. -Unix systems have three different types of permissions: a) The read permission which grants a user the ability to read a file; b) The write permission grants user the ability to modify a file; c) the execute permission grants a user the ability to execute a file. +Permissions decide which users have access rights to a file system. Permissions thus work a bit like a lock preventing unwanted users from accessing and/or modifying files. +Unix systems have three different types of permissions: a) The read permission which grants a user the ability to read a file; b) The write permission which grants a user the ability to modify a file; c) the execute permission which grants a user the ability to execute a file. #### How do you view hidden files in a directory?