Question: I want the code in c , its for unix programming , pls make comment on the code if possible // Exercise 3.7 Write a
Exercise 3.7 Write a program setperm that takes two command line arguments. The first is a filename, the second the octal or 1s style specification for a set of permissions. If the file exists, then setperm should attempt to reset the file's permissions to the value given. Use the routine 1soct you developed in Exercise 3.3. Exercise 3.7 Write a program setperm that takes two command line arguments. The first is a filename, the second the octal or 1s style specification for a set of permissions. If the file exists, then setperm should attempt to reset the file's permissions to the value given. Use the routine 1soct you developed in Exercise 3.3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
