Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is in LINUX: While logged in as a regular user, use the following command to create a directory named top in the user's home

this is in LINUX:

While logged in as a regular user, use the following command to create a directory named top in the user's home directory:

$ mkdir -p /home/user/lab4/top

Follow the instructions below to complete Table #1.

Change the permission of the top directory using the chmod command. The exact command is given in the second column of the table.

Execute the commands listed in the first row (started with the third column) for that permission level. For each command line document whether the command line executes successfully or not: Use PD for Permission Denied, OK for success, NF for "No such file or directory"

The commands are:

$ ls -l top

$ mkdir top/sub

$ rmdir top/sub

$ cd top

$ cd .. (Execute this ONLY if your current directory is top!)image text in transcribed

Table #1: Testing Directory Permissions ow Command line to tmodify permissions Is - top mkdir top/sub mdir top/sub cd top chmod u+r-w+x top chmod u-r+wx top chmod u+rw-x top chmod u-rw+x top chmod u-r+w-x top chmod u+r-wx top chmod u-rwx top chmod u+rwx top

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Repairing And Querying Databases Under Aggregate Constraints

Authors: Sergio Flesca ,Filippo Furfaro ,Francesco Parisi

2011th Edition

146141640X, 978-1461416401

More Books

Students also viewed these Databases questions

Question

Describe how language reflects, builds on, and determines context?

Answered: 1 week ago