CIS206_3
.docx
keyboard_arrow_up
School
ECPI University, Greensboro *
*We aren’t endorsed by this school
Course
206
Subject
Computer Science
Date
Jan 9, 2024
Type
docx
Pages
4
Uploaded by corada5995
CIS206 – 3.2 – Permissions Security
Part 1:
What permissions would you set for each folder for the user and for the group, if you want only members of your group to access your directory?
Users should only be able to read the folder and nothing else. They can only read the file and
cannot do anything else. Users cannot write or execute any of the folders. As per the requirement
in the question, only the group members can access its folders then they can read, write, or execute the folders.
Part 2:
What permissions would you set for each file for the user and for the group, if you want only members of your group to access your files?
Users should only be able to read and execute the file and cannot write anything on the file. Only
the group members can access the files completely therefore they can read, write, and execute the file.
Part 3:
Show what it would look like if you did an ls -l on your directories.
Ls -l command shows the list of the correct directory. If there is no content or files in the
directory, then the Linux prompt will be returned. So, it shows all the members, users, and
groups inside the directory.
CIS206 – 3.2 – Permissions Security
Part 4:
What groups would you have? Who are the members of each group?
Two groups will be their named children and parents having members inside them.
Members in parents’ group are:
Parent1 name and
Parent2 name.
Children have members:
Child1 name
Child2 name
Child3 name.
Part 5:
Do the parents need to be members of your children group? Why or why not? What would happen if parents are not members of the children group?
Parents should not be a member of the children’s group as each group has the right to privacy.
One group member cannot interfere in another group. Parents cannot change or modify any content in the children's group.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
UNIX ASSIGNMENT - IXQuestion 2: Write a command to list all the files inside a folder i.e. if there is a folder inside a folder then it should list all files inside the sub-folder which is inside the folder to be listed.
arrow_forward
what would do to a folder so that only the user who created the file in the folder can delete it
arrow_forward
Data Communication Channels in Computer Systems
Explain (with the aid of diagrams as appropriate) how you would write a procedure using commands stored in a Windows batch file to copy all the contents of a specific folder on a user’s computer to another folder on an external hard drive.
NOTE: The data backup should occur once every day at a specific time; Furthermore, assume that the files to be copied are stored in a directory called “D:\my_files” and that these files must be copied to a directory called “E:\backup”.
arrow_forward
plase jelp me
arrow_forward
Step 1: Set up a worksheet with the appropriate headings and tab names to displaythe filesStep 2: Get the user to select the starting point from which the search must beginStep 3: Get a count for all files and folders in the chosen path and prepare status barStep 4: Monitor time elapsed and give user a chance to exit if it is taking too longStep 5: Get all file and folder names and store in the new worksheet(s) created in step 1Step 6: Save in a new workbook
Note that steps 3 and 5 are similar, because you have to read the headers of all fileobjects to determine how many there are. It is necessary to do this so that a message with progress status can be displayed .
Write code to implement these steps:
arrow_forward
System AdministrationShell Scripts: exercises sheet 2Exercise 1 :Write a shell script that displays the contents of the directories existing in a directory given asargument (use the for loop)Exercice 2 :Write a shell script that displays the contents of subdirectories of the directories that are given asarguments. The script should be called with any number of parameters.Exercice 3 :Write a shell script that displays the nthline of a file(you can use head and tail). The integer n andthe input file name are given by the user in response to the request of the script (use the commandread). Try to do all possible tests (file exists or not etc ...)Exercise 4 :Write a shell script that give a variable x the following content “School man women fish dog catsheep” and then print each word in a separate line on the screen (use the for loop).Exercise 5 :Propose a shell script that displays the number of files in the present working directory .
arrow_forward
18
What is the octal permission code for setting the permissions of a file so that the
owner can read, write, and execute; the group can read and write; and others can
only read it?
21
O 764
24
O 761
O 724
O 751
arrow_forward
File Management: UNIX
Describe what happens for each of the following uses of the 'mv' command:
moving a regular file onto an existing regular file
moving a directory onto an existing regular file
moving a directory onto another existing directory
moving a directory onto a subdirectory within itself
SHOW THE CODE, Like the script of it
arrow_forward
7
arrow_forward
System Administration
Shell Scripts: exercises sheet 2
Exercise 1:
Write a shell script that displays the contents of the directories existing in a directory given as
argument (use the for loop)
Exercice 2:
Write a shell script that displays the contents of subdirectories of the directories that are given as
arguments. The script should be called with any number of parameters.
Exercice 3:
Write a shell script that displays the nth line of a file(you can use head and tail). The integer n and
the input file name are given by the user in response to the request of the script (use the command
read). Try to do all possible tests (file exists or not etc...)
Exercise 4:
Write a shell script that give a variable x the following content "School man women fish dog cat
sheep" and then print each word in a separate line on the screen (use the for loop).
Exercise 5:
Propose a shell script that displays the number of files in the present working directory.
arrow_forward
In UNIX/Linux, what would the octal notation be for a file with the following permissions:.
• Owner can read, write, and execute
• Members of the group can read and write
• Members not belonging to the above can only read
arrow_forward
*C Programming
Write a ccedit program that takes an item number as a command line argument. It should retrieve the specified item and for each attribute (not including the item number) print out the current value and give the user the option to change it. Include proper file locking.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Related Questions
- UNIX ASSIGNMENT - IXQuestion 2: Write a command to list all the files inside a folder i.e. if there is a folder inside a folder then it should list all files inside the sub-folder which is inside the folder to be listed.arrow_forwardwhat would do to a folder so that only the user who created the file in the folder can delete itarrow_forwardData Communication Channels in Computer Systems Explain (with the aid of diagrams as appropriate) how you would write a procedure using commands stored in a Windows batch file to copy all the contents of a specific folder on a user’s computer to another folder on an external hard drive. NOTE: The data backup should occur once every day at a specific time; Furthermore, assume that the files to be copied are stored in a directory called “D:\my_files” and that these files must be copied to a directory called “E:\backup”.arrow_forward
- plase jelp mearrow_forwardStep 1: Set up a worksheet with the appropriate headings and tab names to displaythe filesStep 2: Get the user to select the starting point from which the search must beginStep 3: Get a count for all files and folders in the chosen path and prepare status barStep 4: Monitor time elapsed and give user a chance to exit if it is taking too longStep 5: Get all file and folder names and store in the new worksheet(s) created in step 1Step 6: Save in a new workbook Note that steps 3 and 5 are similar, because you have to read the headers of all fileobjects to determine how many there are. It is necessary to do this so that a message with progress status can be displayed . Write code to implement these steps:arrow_forwardSystem AdministrationShell Scripts: exercises sheet 2Exercise 1 :Write a shell script that displays the contents of the directories existing in a directory given asargument (use the for loop)Exercice 2 :Write a shell script that displays the contents of subdirectories of the directories that are given asarguments. The script should be called with any number of parameters.Exercice 3 :Write a shell script that displays the nthline of a file(you can use head and tail). The integer n andthe input file name are given by the user in response to the request of the script (use the commandread). Try to do all possible tests (file exists or not etc ...)Exercise 4 :Write a shell script that give a variable x the following content “School man women fish dog catsheep” and then print each word in a separate line on the screen (use the for loop).Exercise 5 :Propose a shell script that displays the number of files in the present working directory .arrow_forward
- 18 What is the octal permission code for setting the permissions of a file so that the owner can read, write, and execute; the group can read and write; and others can only read it? 21 O 764 24 O 761 O 724 O 751arrow_forwardFile Management: UNIX Describe what happens for each of the following uses of the 'mv' command: moving a regular file onto an existing regular file moving a directory onto an existing regular file moving a directory onto another existing directory moving a directory onto a subdirectory within itself SHOW THE CODE, Like the script of itarrow_forward7arrow_forward
- System Administration Shell Scripts: exercises sheet 2 Exercise 1: Write a shell script that displays the contents of the directories existing in a directory given as argument (use the for loop) Exercice 2: Write a shell script that displays the contents of subdirectories of the directories that are given as arguments. The script should be called with any number of parameters. Exercice 3: Write a shell script that displays the nth line of a file(you can use head and tail). The integer n and the input file name are given by the user in response to the request of the script (use the command read). Try to do all possible tests (file exists or not etc...) Exercise 4: Write a shell script that give a variable x the following content "School man women fish dog cat sheep" and then print each word in a separate line on the screen (use the for loop). Exercise 5: Propose a shell script that displays the number of files in the present working directory.arrow_forwardIn UNIX/Linux, what would the octal notation be for a file with the following permissions:. • Owner can read, write, and execute • Members of the group can read and write • Members not belonging to the above can only readarrow_forward*C Programming Write a ccedit program that takes an item number as a command line argument. It should retrieve the specified item and for each attribute (not including the item number) print out the current value and give the user the option to change it. Include proper file locking.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- A+ Guide To It Technical SupportComputer ScienceISBN:9780357108291Author:ANDREWS, Jean.Publisher:Cengage,Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning
A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning