Bug 40811

Summary: Правило для разрешения монтирования членов группы fuse
Product: New/proposed packages Reporter: Andrey Cherepanov <cas>
Component: Обычный репозиторийAssignee: pav <pav>
Status: CLOSED FIXED QA Contact: Andrey Cherepanov <cas>
Severity: normal    
Priority: P5 CC: aen, aris, viy
Version: не указана   
Hardware: x86_64   
OS: Linux   

Description Andrey Cherepanov 2021-08-25 16:50:05 MSK
Прошу положить в пакет файл /etc/polkit-1/rules.d/10-udisks2.rules с содержанием:
polkit.addRule(function(action, subject) {
    if (  ( action.id == "org.freedesktop.udisks2.filesystem-mount-other-seat" ||
    action.id == "org.freedesktop.udisks2.filesystem-unmount-others" ||
    action.id == "org.freedesktop.udisks2.encrypted-unlock-other-seat" ||
    action.id == "org.freedesktop.udisks2.eject-media-other-seat" ||
    action.id == "org.freedesktop.udisks2.power-off-drive-other-seat" ) &&
    subject.isInGroup("fuse"))
    {
    return polkit.Result.YES;
    }
});
Comment 1 Yuri N. Sedunov 2021-08-25 18:17:44 MSK
Не, не надо. Запакуйте это правило отдельно.
Comment 2 Andrey Cherepanov 2021-08-25 21:01:30 MSK
(Ответ для Yuri N. Sedunov на комментарий #1)
> Не, не надо. Запакуйте это правило отдельно.

Принято.
Comment 3 Andrey Cherepanov 2021-08-25 21:04:43 MSK
Прошу опакетить в polkit-rule-udev2-mount

Группу сменить с fuse на xgrp.
Comment 4 Repository Robot 2022-01-25 12:47:53 MSK
polkit-rule-udisks2-mount-1.0-alt1 -> sisyphus:

 * Tue Jan 25 2022 Andrey Cherepanov <cas@altlinux> 1.0-alt1
 - Initial build in Sisyphus (ALT #40811).