What are the file attributes for executing Perl programs?
C
Correct answer
Explanation
Perl programs need execute permission to run directly. The common permission scheme is 755 (rwxr-xr-x): owner can read/write/execute, group/others can read/execute. 777 gives write permission to everyone which is a security risk. 666 is read/write for all with no execute permission - not executable. 766 is unusual and gives write to group/others.