From 596f8b6c33c23d39a2583c7e3064c03aed7ea9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Thu, 18 Oct 2012 18:39:41 +0200 Subject: [PATCH] Update permissions of the mountpoint to reflect that it's read-only --- sparsebundlefs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sparsebundlefs.cpp b/sparsebundlefs.cpp index aed03cc..70d0f24 100644 --- a/sparsebundlefs.cpp +++ b/sparsebundlefs.cpp @@ -47,7 +47,7 @@ static int sparsebundle_getattr(const char *path, struct stat *stbuf) stat(SB_DATA->path, &bundle_stat); if (strcmp(path, "/") == 0) { - stbuf->st_mode = S_IFDIR | 0755; + stbuf->st_mode = S_IFDIR | 0555; stbuf->st_nlink = 3; stbuf->st_size = sizeof(sparsebundle_data); } else if (strcmp(path, image_path) == 0) {