You will need to write a shell program that finds all programs that have the owner sticky bit on set on the file. You will need to copy each of the files to a location in your home directory for backup purposes. Your program will then need to loop through each of the files and temporarily change the permissions on the file and remove the sticky bit. Your program will also need an option for putting the files back to their original permissions. I would probably use a case statement that allows the user to choose the change permissions or return to their original state.

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter4: Financial Functions, Data Tables, And Amortization Schedules
Section: Chapter Questions
Problem 1EYW
icon
Related questions
Question

You will need to write a shell program that finds all programs that have the owner sticky bit on set on the file. You will need to copy each of the files to a location in your home directory for backup purposes. Your program will then need to loop through each of the files and temporarily change the permissions on the file and remove the sticky bit. Your program will also need an option for putting the files back to their original permissions. I would probably use a case statement that allows the user to choose the change permissions or return to their original state.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Windows
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L