Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge branch 'jb41482' into 'master'
[udisks2] Create mount path with 755 rights. Fixes JB#41482 See merge request mer-core/udisks2!6
- Loading branch information
Showing
8 changed files
with
40 additions
and
12 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
rpm/0001-Disable-libblockdev-mdraid-and-part-support-from-sou.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
rpm/0004-Introduce-mount-sd-service-that-is-executed-as-nemo.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From c4d624a4aad1733d11f5d7fd81b39f37b528352d Mon Sep 17 00:00:00 2001 | ||
From: Raine Makelainen <raine.makelainen@jolla.com> | ||
Date: Wed, 18 Apr 2018 18:00:00 +0300 | ||
Subject: [PATCH 7/7] Create mount path with 755 rights | ||
|
||
Signed-off-by: Raine Makelainen <raine.makelainen@jolla.com> | ||
--- | ||
src/udiskslinuxfilesystem.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/udiskslinuxfilesystem.c b/src/udiskslinuxfilesystem.c | ||
index c91a1279..6366bd76 100644 | ||
--- a/src/udiskslinuxfilesystem.c | ||
+++ b/src/udiskslinuxfilesystem.c | ||
@@ -939,7 +939,7 @@ calculate_mount_point (UDisksDaemon *daemon, | ||
} | ||
/* Then create the per-user MOUNT_BASE/$USER */ | ||
#ifdef HAVE_ACL | ||
- if (g_mkdir (mount_dir, 0700) != 0 && errno != EEXIST) | ||
+ if (g_mkdir (mount_dir, 0755) != 0 && errno != EEXIST) | ||
#else | ||
if (g_mkdir (mount_dir, 0750) != 0 && errno != EEXIST) | ||
#endif | ||
-- | ||
2.14.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters