Create a home directory for regular user alice using a conventional FHS layout.
Which path is expected?
Regular users normally have home directories under /home/USER. root's home is conventionally /root.
Detailed explanation
/root/aliceIncorrect. /root is the root user's home, not the normal parent for alice.
/home/aliceCorrect. /home/alice is the conventional regular-user home.
/usr/aliceIncorrect. /usr is for installed software and shareable data.
/var/log/aliceIncorrect. /var/log is for logs.
Try it yourself
An example you can run in a temporary verification environment.
test -d /home && printf '/home exists\n'Expected result
/home exists(環境によって個別利用者ディレクトリは異なる)Key points
- /home stores user homes
- /root is root's home
- Site policies can vary
Notes
- Environment: FHS準拠Linux / ディレクトリ存在確認のみ
- Use read-only lookups or disposable paths when verifying search behavior.
- Distribution-specific defaults should be checked before changing system configuration.
Foundation review
Place the operation
The conventional `/home/alice` path communicates user ownership and separates it from `/root`.
Check the side effect
Remember that sites using network homes or a different policy may choose another actual path.