From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
$ stat -L -c '%a' /tmp | $ stat -L -c '%a' /tmp | ||
1777 | 1777 | ||
}} |
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.
- ssh into an instance.
- 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.
- Step #1 You should be able to login to an instance.
- Step #2 should return 1777 like this:
$ stat -L -c '%a' /tmp 1777