Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 1 . Check file and directory details In this task, you must explore the permissions of the projects directory and the files it contains.
Task Check file and directory details
In this task, you must explore the permissions of the projects directory and the files it contains. The lab starts with homeresearcher as the current working directory. This is because you're changing permissions for files and directories belonging to the researcher user.
Navigate to the projects directory.
List the contents and permissions of the projects directory.
The permissions of the files in the projects directory are as follows:
total
drwxx researcher researchteam Oct : drafts
rwrwrw researcher researchteam Oct : projectktxt
rwr researcher researchteam Oct : projectmtxt
rwrwr researcher researchteam Oct : projectrtxt
rwrwr researcher researchteam Oct : projectttxt
Note: The date and time information returned is the same as the date and time when you ran the command. Therefore, it is different from the date and time in the example.
As you may recall from the video lesson, a character string begins each entry and indicates how the permissions on the file are set. For instance, a directory with full permissions for all owner types would be drwxrwxrwx:
The st character indicates the file type. The d indicates its a directory. When this character is a hyphen it's a regular file.
The ndth characters indicate the read r write w and execute x permissions for the user. When one of these characters is a hyphen instead, it indicates that this permission is not granted to the user.
The thth characters indicate the read r write w and execute x permissions for the group. When one of these characters is a hyphen instead, it indicates that this permission is not granted for the group.
The thth characters indicate the read r write w and execute x permissions for the owner type of other. This owner type consists of all other users on the system apart from the user and the group. When one of these characters is a hyphen instead, that indicates that this permission is not granted for other.
The second block of text in the expanded directory listing is the user who owns the file. The third block of text is the group owner of the file.
What is the name of the group that owns the files in the projects directory?
researcher
researchteam
securityteam
otherusers
Check whether any hidden files exist in the projects directory.
Which of these files is hidden in the projects directory?
projectxtxt
projectmtxt
There are no hidden files
projectrtxt
ClickCheck my progressto verify that you have completed this task correctly.
You have not completed this task. You can use the ls l and ls la commands to check the permissions of the projects directory and to check if it contains hidden files.
Check file and directory details
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started