From Fedora Project Wiki

Revision as of 04:47, 22 August 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |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 /`` |actions= # Verify the existence of essential directories: * ``ls /bin`` * ``ls /etc`` * ``ls /home`` * ``ls /lib``...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case ensures that the filesystem package, which provides basic directory layout for a Linux operating system, is set up correctly.

Setup

  1. Ensure that the filesystem package is installed. If not, install it with the command: sudo dnf install filesystem
  2. Navigate to the root directory using: cd /

How to test

  1. Verify the existence of essential directories:
 * ls /bin
 * ls /etc
 * ls /home
 * ls /lib
 * ls /sbin
 * ls /usr
 * ls /var
  1. Check permissions on the /tmp directory: ls -ld /tmp

Expected Results

  1. The directories listed in the actions should exist.
  2. The permissions for the /tmp directory should look similar to drwxrwxrwt, ensuring it's world-writable with the sticky bit set.