Multiple choice technology operating systems

What are the file attributes for executing Perl programs?

  1. 666

  2. 777

  3. 755

  4. 766

Reveal answer Fill a bubble to check yourself
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.