Devuan bug report logs - #296
policykit: Unable to mount USB stick from Desktop session due to default policykit rule

Package: policykit; Reported by: JieFK <>; dated Tue, 26 Feb 2019 19:18:01 UTC; Maintainer for policykit is (unknown).

Message received at

Received: (at submit) by; 26 Feb 2019 19:10:02 +0000
Return-Path: <>
Received: from []
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Tue, 26 Feb 2019 20:10:02 +0100 (CET)
Received: from devuan ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by (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

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 :

-- 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

Acknowledgement sent to JieFK <>:
New bug report received and forwarded. Copy sent to Full text available.
Report forwarded to,
bug#296; Package policykit. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <>.
Last modified: Tue, 17 May 2022 16:39:01 UTC