Assume permissions on a file allow you to write to the file but not to delete it.
a. Give a command to empty the file without invoking an editor.
b. Explain how you might have permission to modify a file that you cannot
delete.
a. $ cat /dev/null > filename
b. To delete a file, you must have write and execute permission for the direc-
tory holding the file. To write to a file, you must have write permission
for the file and execute permission for the parent directory. When you
have write permission only for a file and execute permission only for the
directory holding the file, you can modify but not delete the file.
You might also like to view...
It is a good coding practice to zero-out any margins and padding using the ____ selector.
A. id B. universal C. class D. any of the above
The specific design of the way data is either displayed or compared in a chart is a ________
A) chart type B) template C) chart style D) pattern
Which of the following is a method used in a procedure to move the focus to a specific object or control.
A. Dim B. SetFocus C. Me.Undo D. IsNull
A network attached storage server, often called a(n) ____________________, has its own IP address, usually does not have a keyboard or display, and contains at least one hard disk, often configured in a RAID.
Fill in the blank(s) with the appropriate word(s).