diff --git a/repertory/repertory_test/src/fuse_drive_access_test.cpp b/repertory/repertory_test/src/fuse_drive_access_test.cpp index e0b0178a..f1178ea3 100644 --- a/repertory/repertory_test/src/fuse_drive_access_test.cpp +++ b/repertory/repertory_test/src/fuse_drive_access_test.cpp @@ -161,6 +161,7 @@ TYPED_TEST(fuse_test, access_can_check_file_execute_access) { std::string file_name{"access_test"}; auto file_path = this->create_file_and_test(file_name); + EXPECT_EQ(0, chmod(file_path.c_str(), 0700)); EXPECT_EQ(0, access(file_path.c_str(), X_OK)); this->unlink_file_and_test(file_path);