We going to test for basic filesystem permission.
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
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