1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Random Linux+ Question #65

Discussion in 'Linux+' started by tripwire45, Aug 23, 2005.

  1. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    179
    287
    You are in your home directory reviewing the permissions for a file called "wfile". The current permissions are:
    Code:
    -rw-r--r--
    You execute the command:
    Code:
    chmod a+x wfile
    What do the permissions look like now? Choose only one answer from the options below.

    1. -rwxr--r--
    2. -rwxr-xr--
    3. -rwxr-xr-x
    4. -rw-r-xr-x
    5. -rw-r--r-x
    6. None of the above. The "a+x" option is invalid.

    PS...also tested in Debian. :tongue
     
    Certifications: A+ and Network+
  2. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    179
    287
    So no one wanted to tackle this one, eh? Ok, here's the answer anyway. The correct answer is 3. Permissions will be -rwxr-xr-x. The chmod a+x filename command adds the executable permission to all ("a" as in "all") categories (user, group, others).
     
    Certifications: A+ and Network+

Share This Page

Loading...