Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cannot access USB Stick. Armbian 5.05 OPi.pc

Featured Replies

If I put a USB stick in I can see it in Nautilus(yes I installed nautilus) but when I click on the name of the USB , I get..

 

"

Unable to access “USBNAME"

 

Not authorized to perform operation (polkit authority not available and caller is not uid 0)"

 

Everything else is working.

 

I have Samba, SSH, x11vnc, NAS, HEVC x265 Video, all working happily.I can live without USB but I thought it would be important to give the Armbian developers feedback.

 

I have looked for an answer and I do not see any one else having this problem.

 

Once again I just love this Armbian / OPi.pc combination.

 

Seasalt

I am having the same USB automount errors.

orangepipc -5.05 on Samsung Evo 32Gb w/ factory orange pi power supply

I can mount OK with sudo mount so that's not a problem.

I chased Policykit configuration for a day, no change.

Then I chased polkit-1 another day (apt-get install polkit-1), got it to finally say

$ pkaction --verbose --action-id org.freedesktop.udisks2.filesystem-mount
description:       Mount a filesystem
  message:           Authentication is required to mount the filesystem
  vendor:            The udisks Project
  vendor_url:        http://udisks.freedesktop.org/
  icon:              drive-removable-media
  implicit any:      yes
  implicit inactive: yes
  implicit active:   yes

But still No Authority to mount USB stick.

I then removed all the policy kit config files that I messed with and STILL get the above yes answers, but no authority.

 

Therefore armbian must not be using either form of polkit for authentication. Maybe its SELinux??

  Edit: or not. not commands for SELinux installed.

 

I'll keep chasing it, but I'm running out of ideas.

Could it be simply because of /etc/group membership ?

I think not.

larryl@orangepione:~$ groups

larryl dialout sudo audio video plugdev netdev

 

Does your USB stick automatically mount (or thru thunar) when pluged in?

If this is my (and Seasalt's) personal problem, I'll live with it. I assumed it was widespread and that I would be helping to figure it out.

 

I have orangepione, 5.05 image on 32Gb Samsung EVO, sudo apt-get update, upgraade

added Cyphers to sshd, apt-get install tightvncserver xtightvncviewer,

No other packages loaded. Before on the Opc PC, I installed gvfs policykit-1 and later removed policykit-1 thinking that was the problem, but not installed this time.

I found Igor's Mar 12 commit,  
https://github.com/igorpecovnik/lib/commit/bf66a46085bdd8d6abc6149c710e0c0532dc882b
Automount/eject of USB, fix reboot/shutdown on desktop (Jessie)

So I followed it:
sudo apt-get -y install  gvfs policykit-1 policykit-1-gnome eject
edited /boot/boot.cmd  to change "cgroup-enable" to "cgroup_enable"
sudo mkdir -p /etc/polkit-1/localauthority/50-local.d/
added  plugdev.pkla and power.pkla to it

plugdev.pkla

[Allow Automount]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.filesystem-mount-system;org.freedeskt
op.udisks2.filesystem-mount-other-seat;org.freedesktop.udisks2.filesystem-unmount-others;org.freedesktop.udis
ks2.eject-media;org.freedesktop.udisks2.eject-media-system;org.freedesktop.udisks2.power-off-drive*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

power.pkla
 

[Allow Desktopstuff]
Identity=unix-group:sudo
Action=org.freedesktop.login1.reboot;org.freedesktop.login1.reboot-multiple-session;org.freedesktop.login1.po
wer-off;org.freedesktop.login1.power-off-multiple-sessions;org.freedesktop.login1.suspend;org.freedesktop.log
in1.suspend-multiple-sessions;org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sess
ions
ResultAny=yes
ResultInactive=yes
ResultActive=yes

I still get an error window saying I do not have permission to eject, however the USB stick is indeed unmounted.

 

So fixed.

 

Thank you for your comments.

Larry

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.