Courseiva
GNU and Unix CommandsmediumMultiple ChoiceObjective-mapped

LPIC-1 GNU and Unix Commands Practice Question

A systems administrator needs to change the permissions of the file /home/user/script.sh so that the owner can read, write, and execute; the group can read and execute; and others have no access. Which command accomplishes this?

⚠ Common exam trap

It's easy for candidates to confuse the octal values, especially mistaking 755 (which grants others read/execute) for the correct setting, or they forget that 750 denies others access while 755 does not.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

chmod 750 /home/user/script.sh

Chmod 750 sets the permissions to rwxr-x---, which gives the owner read, write, and execute (7), the group read and execute (5), and others no access (0). This matches the requirement exactly.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • chmod 755 /home/user/script.sh

    Why it's wrong here

    755 gives rwx for owner, r-x for group, and r-x for others, but others should have no access.

  • chmod 750 /home/user/script.sh

    Why this is correct

    750 gives rwx for owner, r-x for group, and --- for others, matching the requirement.

  • chmod 770 /home/user/script.sh

    Why it's wrong here

    770 gives rwx for owner, rwx for group, and --- for others, but group has write access which is not required.

  • chmod 741 /home/user/script.sh

    Why it's wrong here

    741 gives rwx for owner, r-- for group, and --x for others, which does not match.

About these practice questions

Courseiva writes every LPIC-1 question from scratch — 527 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.