1Z0-821 practice question 21 of 30
You are the administrator for a group of shell script developers. They use vi, and have asked you to make their scripts automatically executable when they save their files. How can this be accomplished?
Full set: 243 questionsCorrect Answer:
E. It is not possible to automatically set the execute bit on with the umask setting, or vi option.
Explanation
Unlike DOS, which uses the file extension to determine if a file is executable or not, UNIX relies on file permissions. The value assigned by umask is subtracted from the default. User's file creation mask. umask sets an environment variable which automatically sets file permissions on newly created files. i.e. it will set the shell process's file creation mask to mode. umask 000 would grant full permissions.
Note: 777 full permissions
Keep practicing
Take the free 1Z0-821 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 1Z0-821 practice questions
- Question 1You created a new zpool. Now you need to migrate the existing ZFS file system from pool1/…
- Question 2User jack on host solaris attempts to use ssh to log in to host oracle and receives this …
- Question 5On which is the open boot prom available?
- Question 7Identify the correct description of an IPS image.
- Question 8Server A, Server B, and Server C are connected to the same network switch and are on the …
- Question 9To help with your troubleshooting, you need to determine the version of the OBP. Which tw…
