From unknown Thu Mar 28 18:29:03 2024 Received: (at submit) by bugs.devuan.org; 26 Feb 2019 19:10:02 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Tue, 26 Feb 2019 20:10:02 +0100 (CET) Received: from devuan (20-4-190-109.dsl.ovh.fr [109.190.4.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 36B13F60B65 for ; Tue, 26 Feb 2019 20:04:59 +0100 (CET) Received: from tukuyomi by devuan with local (Exim 4.92-RC6) (envelope-from ) id 1gyi2D-0002Oj-4r; Tue, 26 Feb 2019 20:04:57 +0100 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: JieFK To: Devuan Bug Tracking System Subject: policykit: Unable to mount USB stick from Desktop session due to default policykit rule Message-ID: <155120789680.9015.12620722624421713389.reportbug@devuan> X-Mailer: reportbug 7.5.1+devuan1 Date: Tue, 26 Feb 2019 20:04:56 +0100 X-Spam-Status: No, score=1.3 required=5.0 tests=FSL_HELO_NON_FQDN_1, RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=disabled version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: policykit Severity: normal Dear Maintainer, Plugging an USB stick makes polkit ask for root password. Manually modifying rules in /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy works -- ie USB stick is mounted seamlessly (no user/root passwd asked) However, copying this above file to /etc/polkit-1/actions/ --to make modification survive updates-- does not work. Also, instead of modifying org.freedesktop.UDisks2.policy, I found this working solution here : https://dev1galaxy.org/viewtopic.php?pid=7848#p7848 -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux beowulf/ceres Release: 10 Codename: n/a Architecture: x86_64 Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled