A file is owned by alex and belongs to the group ops. A process runs as user alex and is also a member of ops. Which permission class does Linux use for this process when checking access to the file?
Linux File Ownership and Permissions Online Quiz Questions
Use this free practice quiz with 20 questions to review Linux File Ownership and Permissions, test your knowledge, and prepare for your next test or exam.
Which practices help apply ownership or permission changes cautiously? Select all correct answers.
- A
Inspect the target with
ls -land confirm the path before changing permissions. - B
Choose the least access needed and apply the change to a specific target.
- C
Check the result after making the change.
- D
Use
chmod -R 777to make sure access permissions are consistent across all descendants.
The symbolic mode u+x adds execute permission for the owner while leaving unrelated permission bits unchanged.
- A
True
- B
False
Which Linux command changes only a file’s group?
In octal mode 640, the group digit is .
Explain what read, write, and execute/search permissions allow on regular files and on directories. Include the requirement that applies when traversing a path.
Which permissions does chmod 750 report.txt set for the owner, group, and other, respectively?
- A
Owner
rwx, groupr--, other--- - B
Owner
rwx, groupr-x, other--- - C
Owner
rw-, groupr-x, other--- - D
Owner
rwx, groupr-x, otherr--
Which statements correctly interpret these symbolic chmod modes? Select all correct answers.
- A
chmod u+x script.shadds owner execute permission. - B
chmod g-w shared.txtremoves group write permission. - C
chmod o= report.txtremoves all permissions for others. - D
chmod u=rw,g=r,o= fileadds the specified permissions without removing any previously set bits.
If a process does not own a file but belongs to its owning group, Linux uses the file’s other permissions for that process.
- A
True
- B
False
Which single permission letter allows searching or traversing a directory?
Before changing a file’s permissions, first use to inspect the target. After applying the change, the result.
Which command changes only a file’s group?
- A
chownchanges only the group. - B
chgrpchanges only the group. - C
ls -lchanges only the group. - D
chmodchanges only the group.
chgrp changes a file’s owning user.
- A
True
- B
False
What command changes only a file’s group?
A process owns a file and attempts to access it. Which permission class is used for the access check?
- A
Owner permissions
- B
Group permissions
- C
Other permissions
- D
All three permission classes equally
In a symbolic mode such as u+x, the change adjusts the selected bit while leaving unrelated permission bits intact.
- A
True
- B
False
Which single permission letter allows searching or traversing a directory?
A file should have owner permissions rw-, group permissions r--, and other permissions ---. Which three-digit octal mode sets these permissions?
- A
604
- B
460
- C
640
- D
650
Enter the three-digit octal mode for owner rw-, group r--, and other ---.
A process does not own a file, but it belongs to the file’s owning group. Which permission class is used for the access check?
- A
Owner permissions
- B
Group permissions
- C
Other permissions
- D
No permission class is checked
Related study packs and tools
2 Mobile Hardware and Components
Learn how mobile-device components work together, how their designs differ, and what their capabilities and serviceability depend on.
2 Professionalism in IT Practice
Learn how integrity, communication, confidentiality, and structured judgment guide responsible conduct in IT work.
2 Virtual Machines
A medium-difficulty quiz on virtual machine architecture, provisioning, networking, storage, and operations.
3 Network Connectivity Diagnosis
A medium-difficulty quiz on diagnosing network connectivity in stages, interpreting test results, and choosing appropriate next checks.
4 Mobile Connectivity
A 14-question quiz on applying mobile connectivity concepts to common settings, usage, and troubleshooting situations.
5 Cloud Service Models
A medium-difficulty quiz on applying and distinguishing IaaS, PaaS, and SaaS, including their responsibilities, trade-offs, and appropriate uses.
5 Mobile Device Configuration
Learn how to personalize a phone or tablet, configure accessibility and notifications, install operating-system updates, and maintain backups that can support recovery.
5 Network Operations and Reliability
A medium-difficulty quiz on network operations, monitoring, configuration management, resilience, and recovery planning.
5 Network Services and Name Resolution
A medium-difficulty quiz on diagnosing DHCP, DNS, and network-service problems, progressing from core concepts to multi-step troubleshooting.
6 Security Operations and Incident Response
Learn how security teams monitor activity, manage vulnerabilities, respond to incidents, preserve digital evidence, and restore services safely.
7 Integrated Troubleshooting Practice
A practical workflow for isolating mixed hardware, display, storage, mobile-device, and network problems, protecting data, and verifying repairs.
8 Comprehensive Security+ Practice and Review
A scenario-focused guide to Security+ SY0-701 concepts, emphasizing evidence-based incident response, access control, cryptography, vulnerability handling, recovery objectives, and risk governance.