From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=We going to test for basic filesystem permission. |setup=Test this on Atomic Image and Base Image. |actions= Be as specific as required for the tar...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
   $ stat -L -c '%a' /tmp
   $ stat -L -c '%a' /tmp
   1777
   1777
|optional=Optionally provide hints for exploratory testing.
}}
}}

Latest revision as of 10:42, 5 May 2016

Description

We going to test for basic filesystem permission.

Setup

Test this on Atomic Image and Base Image.

How to test

Be as specific as required for the target audience.

  1. ssh into an instance.
  2. Next we will determine permission of /tmp dir.
  $ stat -L -c '%a' /tmp

Expected Results

The following must be true to consider this a successful test run.

  1. Step #1 You should be able to login to an instance.
  2. Step #2 should return 1777 like this:
 $ stat -L -c '%a' /tmp
 1777