Commit 52d1fdfd authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

test: enforce default file permission for DummyVFS

Motivation:
As we don't explicitly create fs-root object, the fs
default value will be used as initial mode. An explicit
value will make tests more stable and don't rely on umask
value of the environment.

Modification:
enforce default file permission for DummyVFS

Result:
environment independent test behavior.

Acked-by: Paul Millar
Acked-by: Lea Morschel
Target: master
parent 5af45c19
......@@ -128,6 +128,7 @@ public class DummyVFS implements VirtualFileSystem {
.setAttributeViews("posix", "owner")
.setDefaultAttributeValue("owner:owner", "0")
.setDefaultAttributeValue("posix:group", "0")
.setDefaultAttributeValue("posix:permissions", "rwxr-xr-x")
.build()
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment