Computer Science - Unix - Discussion

Discussion :: Unix - Section 1 (Q.No.40)

40. 

Which command is used to make all files and sub-directories in the directory (progs) executable by all users?

[A]. chmod -R a+x progs
[B]. chmod -R 222 progs
[C]. chmod -1 a+x progs
[D]. chmod -x a+x progs
[E]. None of the above

Answer: Option A

Explanation:

No answer description available for this question.

Ganesh said: (Jan 16, 2012)  
-R is for recurssive directories and sub directories

Priti Sule said: (Oct 11, 2012)  
R is for recursive directories and (a+x) describes all have execute permission. And if they have execute permission then by default they have read write permission also.

Nikhil said: (Dec 17, 2014)  
Its not like that if its executable it doesn't mean they have read, write access.

Reshma said: (Aug 11, 2018)  
You are correct @Nikhil.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.