Linux Basics

56 / 107

Permission: Assignment - Only Group Members can read

Ignore the below instructions if you have already created myemptyfile file in the previous question

  1. Create a new file called myemptyfile. You can use:

    touch myemptyfile
  2. Check its permissions using:

    ls -l myemptyfile

Using chmod, give permissions to myemptyfile such that the owner of a file should be able to read and modify, members of groups can only read, others can’t read or modify.

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...