From Fedora Project Wiki
Description
This test case ensures that the filesystem
package, which provides basic directory layout for a Linux operating system, is set up correctly.
Setup
- Ensure that the
filesystem
package is installed. If not, install it with the command:sudo dnf install filesystem
- Navigate to the root directory using:
cd /
How to test
- Verify the existence of essential directories:
*ls /bin
*
ls /etc
*
ls /home
*
ls /lib
*
ls /sbin
*
ls /usr
*
ls /var
- Check permissions on the /tmp directory:
ls -ld /tmp
Expected Results
- The directories listed in the actions should exist.
- The permissions for the
/tmp
directory should look similar todrwxrwxrwt
, ensuring it's world-writable with the sticky bit set.