mirror of
https://github.com/torarnv/sparsebundlefs.git
synced 2026-03-03 18:28:07 +01:00
Update permissions of the mountpoint to reflect that it's read-only
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user