4. Provide file user, group and access permissions as given below to directory and the files within it (directories require execute permission) Mountpoint /logistics /inventory User Group logistics inventory management User read, write read, write read, write read, write read, write read, write apps database purchases File Access Group read, write read read read hkane jterry /management msilva /apps mmount /database estokes /purchases kwalker SCREENSHOTS: (take the screenshots after completing this section) a) Is -Id /logistics /inventory /management /apps/database/purchases b) ls -1 /logistics /inventory /management /apps/database/purchases Following no sudo should be used to create files. Check the user permissions. read read, write Others No permission read No permission read No permission No permission

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Need Unix Commands
TECH-172
PART-B: FILE PERMISSIONS
Assignment -2
4. Provide file user, group and access permissions as given below to directory and the files within it (directories require
execute permission)
Mountpoint
/logistics
/inventory
hkane
jterry
/management msilva
User
Group
PART-C: ACL PERMISSIONS
9. Login as user estokes
logistics
inventory
management
10. Login as user mmount
User
read, write
read, write
read, write
/apps
mmount
/database
estokes
/purchases
kwalker
SCREENSHOTS: (take the screenshots after completing this section)
a) Is -Id /logistics /inventory /management /apps/database/purchases
b) ls -1 /logistics /inventory /management /apps /database/purchases
apps
database
purchases
File Access
read, write
read, write
read, write
Group
read, write
read
read
read
Faculty of Applied Sciences & Technology
read
read, write
Following no sudo should be used to create files. Check the user permissions.
5. Login as jterry and try creating file terry1 in /logistics, /inventory/purchases and/management
6. Login as msilva and try creating file silva1 in /logistics, /inventory, /management, /purchases /apps and /database
7. Login as estokes and try creating file stokes1 in /logistics, /apps, /management and /database
8. Login as mmount and try creating file mason1 in /logistics, /inventory, /management, /purchases /apps and
/database
SCREENSHOT (after completing above): Is-1 /logistics /inventory/purchases /management /apps/database
Others
No permission
read
No permission
read
No permission
No permission
a. create a directory project1 in /database.
b. create non-empty files proj1, proj2, proj3 in /database/project1
c. provide ACL permissions for mmount with read, write access in directory /database/project1 directory
d. exit as user estokes
a. List the files in /database/project1 (SCREENSHOT)
b. Display the content in files proj1, proj2, proj3 (SCREENSHOT)
c. Add the text "MMount edited this file" in proj3 and then display the content (SCREENSHOT)
d. Create non-empty file proj4, proj5 in /database/project1
SCREENSHOT: a) getfacl /database/project1 b) /database/project1/proj* c) Is -Id /database /database/project1
d) Is -1 /database/project1 e) cat /database/project1/proj3
Transcribed Image Text:TECH-172 PART-B: FILE PERMISSIONS Assignment -2 4. Provide file user, group and access permissions as given below to directory and the files within it (directories require execute permission) Mountpoint /logistics /inventory hkane jterry /management msilva User Group PART-C: ACL PERMISSIONS 9. Login as user estokes logistics inventory management 10. Login as user mmount User read, write read, write read, write /apps mmount /database estokes /purchases kwalker SCREENSHOTS: (take the screenshots after completing this section) a) Is -Id /logistics /inventory /management /apps/database/purchases b) ls -1 /logistics /inventory /management /apps /database/purchases apps database purchases File Access read, write read, write read, write Group read, write read read read Faculty of Applied Sciences & Technology read read, write Following no sudo should be used to create files. Check the user permissions. 5. Login as jterry and try creating file terry1 in /logistics, /inventory/purchases and/management 6. Login as msilva and try creating file silva1 in /logistics, /inventory, /management, /purchases /apps and /database 7. Login as estokes and try creating file stokes1 in /logistics, /apps, /management and /database 8. Login as mmount and try creating file mason1 in /logistics, /inventory, /management, /purchases /apps and /database SCREENSHOT (after completing above): Is-1 /logistics /inventory/purchases /management /apps/database Others No permission read No permission read No permission No permission a. create a directory project1 in /database. b. create non-empty files proj1, proj2, proj3 in /database/project1 c. provide ACL permissions for mmount with read, write access in directory /database/project1 directory d. exit as user estokes a. List the files in /database/project1 (SCREENSHOT) b. Display the content in files proj1, proj2, proj3 (SCREENSHOT) c. Add the text "MMount edited this file" in proj3 and then display the content (SCREENSHOT) d. Create non-empty file proj4, proj5 in /database/project1 SCREENSHOT: a) getfacl /database/project1 b) /database/project1/proj* c) Is -Id /database /database/project1 d) Is -1 /database/project1 e) cat /database/project1/proj3
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education