InterviewStack.io LogoInterviewStack.io

Linux File Systems and Permissions Questions

Comprehensive coverage of Linux file system internals, the standard filesystem hierarchy, practical administration tasks, and the permission and access control model. Candidates should understand the purpose of directories such as /etc, /var, /usr, /home, /tmp, and /opt; how files and directories are represented by inodes and directory structures; the role of file descriptors; and how mounts and different filesystem types and mount options affect behavior and available features. Practical skills include creating deleting moving copying and renaming files and directories; managing symbolic links and hard links; mounting and unmounting filesystems and configuring persistent mounts; checking disk usage and block device information; and basic backup restore and integrity check workflows. Permission and access control topics include user group and other classes; read write and execute bits and octal notation; special permission bits such as set user id set group id and the sticky bit; default creation mask and umask; ownership management with chown and chgrp; permission changes with chmod; and the use of access control lists for fine grained permissions when supported. The topic also encompasses user and group management as it relates to file ownership and access control including adding and removing users and groups managing group membership sudo configuration and the role of system account files such as /etc/passwd /etc/shadow and /etc/group. Interview assessment typically focuses on practical commands and procedures diagnosing permission related failures reasoning about secure defaults and trade offs between security and usability and designing safe backup mount and maintenance strategies.

MediumTechnical
49 practiced
Compare ext4, XFS, Btrfs and ZFS in terms of: online resize support, snapshot capability, metadata reliability, repair tools, and suitability for high IOPS workloads vs archival storage. As an SRE, which filesystem would you choose for a high-throughput event store and why?
MediumTechnical
42 practiced
Design a permissions model for /srv/projects where multiple teams need write access to their own project directories but must not access other teams' data. Use POSIX ACLs and default ACLs to show how you would set this up and how to ensure new files inherit desired ACLs.
HardTechnical
55 practiced
Design an SLO-driven change management policy for filesystem and permission changes affecting production services. Include how to set SLOs and error budgets for permission-change-induced incidents, approval/rollback criteria, and automation guardrails an SRE team should put in place.
HardSystem Design
45 practiced
Design a read-only root filesystem strategy with writable overlays for servers to improve immutability and rollback capability. Discuss approaches (overlayfs, unionfs, ostree, container-style immutable images), how to manage package updates, how to rollback, and how to handle /var and /etc being writable when necessary.
EasyTechnical
43 practiced
Practical file operations: you're asked to move /var/www/myapp to /mnt/fast-storage while preserving permissions, ACLs, extended attributes, and SELinux contexts with minimal downtime. What commands or sequence would you use on a Linux host? Explain why you chose those commands and mention safety measures (verification, dry-run, backup).

Unlock Full Question Bank

Get access to hundreds of Linux File Systems and Permissions interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.