Index: mount.cc |
diff --git a/mount.cc b/mount.cc |
index ff2106fa401a6883be22740b319682e0ec9b2cca..6b6f4718236117fcccf72373cc3b784d255b31a6 100644 |
--- a/mount.cc |
+++ b/mount.cc |
@@ -835,7 +835,7 @@ bool Mount::MountGuestCryptohome() const { |
current_user_->Reset(); |
// Attempt to mount guestfs |
- if (!platform_->Mount("guestfs", home_dir_, "tmpfs", "")) { |
+ if (!platform_->Mount("guestfs", home_dir_, "tmpfs", "mode=0700")) { |
LOG(ERROR) << "Cryptohome mount failed: " << errno << " for guestfs"; |
return false; |
} |