| 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 | ||
Не, не надо. Запакуйте это правило отдельно. (Ответ для Yuri N. Sedunov на комментарий #1) > Не, не надо. Запакуйте это правило отдельно. Принято. Прошу опакетить в polkit-rule-udev2-mount Группу сменить с fuse на xgrp. |
Прошу положить в пакет файл /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; } });