Update permissions of the mountpoint to reflect that it's read-only

This commit is contained in:
Tor Arne Vestbø
2012-10-18 18:39:41 +02:00
parent deeaf1957a
commit 596f8b6c33

View File

@@ -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) {