mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
storage: Make external disk mounts accessible by other users
- samba app doesn't need anymore to change mount permissions Fixes #1692 (in a different way) Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
d2286ca093
commit
9d653d87ec
3 files changed
+19
-11
No files matched your search
@@ -32,7 +32,7 @@ from plinth.utils import format_lazy, import_from_gi
|
||||
|
||||
from .manifest import backup # noqa, pylint: disable=unused-import
|
||||
|
||||
version = 3
|
||||
version = 4
|
||||
|
||||
name = _('Storage')
|
||||
|
||||
@@ -277,6 +277,7 @@ def get_error_message(error):
|
||||
def setup(helper, old_version=None):
|
||||
"""Install and configure the module."""
|
||||
helper.install(managed_packages, skip_recommends=True)
|
||||
helper.call('post', actions.superuser_run, 'storage', ['setup'])
|
||||
helper.call('post', app.enable)
|
||||
disks = get_disks()
|
||||
root_device = get_root_device(disks)
|
||||
|
||||
Reference in new issue
Block a user