-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webos-initscripts=90 com.webos.service.mediaindexer=25 systemd=webos12
umediaserver=r24 :Release Notes: Update user and supplementary group for supporting non-root media services Change users/group of media services to non-root. :Detailed Notes: webos-initscripts: submissions/89...submissions/90 d20b97c Add user and group for com.webos.service.mediaindexer service 66f1fb8 Add user and group for com.webos.service.mediacontroller service e25beaa Add user and group for umediaserver service base-passwd: user and supplementary group are updated for non-root media services com.webos.service.mediaindexer: submissions/24...submissions/25 a397577 Add user and group for com.webos.service.mediaindexer service systemd: Ownership change to "media" for media services related directories. Permission change to "770" for media services related directories. umediaserver: Create "ums" directory under "/var/lib" with user/group as "media" and permission as "755" :Testing Performed: Please check CCC ticket [WRP-15930] for details. :QA Notes: N/A :Issues Addressed: [WRP-15930] CCC: webos-initscripts=90 com.webos.service.mediaindexer=25 systemd=webos12 umediaserver=r24 [WRP-12973] Transition of umediaserver service from root to non-root [WRP-12163] Transition of com.webos.service.mediacontroller service from root to non-root [WRP-12572] Transition of com.webos.service.mediaindexer from root to non-root Cherry-picked-from-commit: 34d694b Cherry-picked-from-branch:
- Loading branch information
1 parent
40f9309
commit 7a025e9
Showing
6 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
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
23 changes: 23 additions & 0 deletions
23
meta-webos/recipes-core/systemd/systemd/0006-Changes-for-non-root-media-services.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From d1f67a98b65c3899ada48b6768803316e7673668 Mon Sep 17 00:00:00 2001 | ||
From: "gaurav.mahajan" <[email protected]> | ||
Date: Mon, 22 May 2023 15:47:15 +0530 | ||
Subject: [PATCH] Change ownership of media directory to support non-root media | ||
services | ||
|
||
Make user and group of "/media" directory as "media" so that | ||
"/media" directory will be accessed by non-root media services | ||
|
||
Upstream-Status: Inappropriate [webOS specific] | ||
--- | ||
tmpfiles.d/systemd.conf.in | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/tmpfiles.d/systemd.conf.in b/tmpfiles.d/systemd.conf.in | ||
index 9b2357cd31..63bcaa5ac1 100644 | ||
--- a/tmpfiles.d/systemd.conf.in | ||
+++ b/tmpfiles.d/systemd.conf.in | ||
@@ -70,3 +70,4 @@ d /var/lib/systemd/coredump 0755 root root 3d | ||
d /var/lib/private 0700 root root - | ||
d /var/log/private 0700 root root - | ||
d /var/cache/private 0700 root root - | ||
+d /media 0770 media media - |
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