Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[usb-moded] Keep mtp device accessible by the current user. Fixes JB#…
…50332 Additional users can't activate mtp mode. This happens because mtp device is mounted on usb-moded startup using hard-coded default user specific permissions. Keep mtp device unmounted when it is not needed. Mount mtp device when activating mtp mode - using uid/gid for the currently active user. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information
Showing
2 changed files
with
143 additions
and
3 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