Add missing 'x' to others 08/319908/2
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 19 Feb 2025 10:25:53 +0000 (11:25 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 19 Feb 2025 10:33:27 +0000 (10:33 +0000)
Change-Id: I7e8f89b48c9fdcd5e31021560917bb19634b156a

src/common/smack-labels.cpp

index bab4791a423a5bd1494bbb02512719feea255b77..94837e3e7b0a55e794def83185d5e5eb8ea72863 100644 (file)
@@ -243,7 +243,7 @@ void setupPath(const uid_t owner,
     switch (pathType) {
     case SECURITY_MANAGER_PATH_OWNER_RW_OTHER_RO:
         appPerms = Acl::RWX;
-        otherPerms = Acl::R;
+        otherPerms = Acl::RX;
         follow_symlink = true;
         break;
 
@@ -261,7 +261,7 @@ void setupPath(const uid_t owner,
 
     case SECURITY_MANAGER_PATH_PUBLIC_RO:
         appPerms = Acl::RX;
-        otherPerms = Acl::R;
+        otherPerms = Acl::RX;
         follow_symlink = false;
         break;