Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-821 Topic 3 Question 93 Discussion

Actual exam question for Oracle's 1Z0-821 exam
Question #: 93
Topic #: 3
[All 1Z0-821 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A, C, E

Contribute your Thoughts:

Pansy
29 days ago
Umask 777? Is that like setting the permissions to 'everyone can do anything'? I think I'll just stick to my trusty 'chmod +x' method.
upvoted 0 times
...
Mollie
1 months ago
Ah, the good old days of vi. I remember when I used to write scripts on a typewriter and then manually set the execute bit.
upvoted 0 times
...
Yvette
1 months ago
Wait, you mean I can't just use `chmod +x` on my scripts like a normal person? This exam is getting a little too advanced for my taste.
upvoted 0 times
Xuan
16 days ago
Wait, you mean I can't just use `chmod +x` on my scripts like a normal person? This exam is getting a little too advanced for my taste.
upvoted 0 times
...
Kristian
18 days ago
E) It is not possible to automatically set the execute bit on with the umask setting, or vi option.
upvoted 0 times
...
Reiko
19 days ago
A) Enter set --o vi on the command line, or include it in each user's startup script.
upvoted 0 times
...
...
Ricarda
1 months ago
I'm not sure why anyone would want their scripts to be automatically executable. That sounds like a security nightmare waiting to happen.
upvoted 0 times
Jaime
17 days ago
User 3: User Comment: I'm not sure why anyone would want their scripts to be automatically executable. That sounds like a security nightmare waiting to happen.
upvoted 0 times
...
Vicki
27 days ago
User 2: E) It is not possible to automatically set the execute bit on with the umask setting, or vi option.
upvoted 0 times
...
Kip
1 months ago
User 1: A) Enter set --o vi on the command line, or include it in each user's startup script.
upvoted 0 times
...
...
Paris
2 months ago
Option C is the correct answer. The umask 000 setting will make all new files executable by default.
upvoted 0 times
Oliva
26 days ago
No problem, happy to help!
upvoted 0 times
...
Lashaunda
1 months ago
That makes sense, thanks for the explanation.
upvoted 0 times
...
Kimberlie
1 months ago
Option C is the correct answer. The umask 000 setting will make all new files executable by default.
upvoted 0 times
...
...
An
2 months ago
I'm not sure about the umask settings, but I think option F might work. Setting umask 766 seems like a good compromise.
upvoted 0 times
...
Delfina
2 months ago
I disagree, I believe option D is the right choice. Setting umask 777 will ensure the scripts are executable.
upvoted 0 times
...
Amie
3 months ago
I think option C is the correct one. Setting umask 000 will make the files automatically executable.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77