LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slack-current: lost automount usb media (https://www.linuxquestions.org/questions/slackware-14/slack-current-lost-automount-usb-media-4175642908/)

BW-userx 11-23-2018 07:07 AM

slack-current: lost automount usb media
 
I just plugged in a external hdd and I'm getting that message, never go this before in any Slack install I've had.

Code:

Not authorized to perform option (polkit authority not available and caller is not uid 0)
this is in e16, but I've still been able to auto mount in it, that is / was a plus.

I created a dir/sub-dir and added this file to the location I put in the file to let me know where it goes if i ever need it again. It was something I needed when I used Debian.

Code:

#/etc/polkit-1/localauthority/50-local.d/automount.pkla
[Allow Automount]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks2.filesystem-mount*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

[Allow Eject]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks2.eject-media*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

[Allow Mounting of fstab]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks2.filesystem-fstab*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

nope, didn't work... so I am posting and searching..
found this...
Code:

Mon Nov 19 02:46:11 UTC 2018
l/js185-1.0.0-x86_64-2.txz: Removed.
l/libwebp-1.0.1-x86_64-1.txz: Upgraded.
l/mozjs52-52.9.0esr-x86_64-1.txz: Added.
      Required by the new version of polkit.
l/polkit-0.115-x86_64-1.txz: Upgraded.
      Thanks to Robby Workman.

automount no longer works in wmaker either, just tried it. Updates are current, as I just updated it before posting to make sure, and see if that would fix this, and nope, it didn't.

------------ MOD -----------

over ride rules
Quote:


/* http://udisks.freedesktop.org/docs/l...t-actions.html */

polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.udisks2.filesystem-mount" &&
subject.isInGroup("plugdev")) {
return polkit.Result.YES;
}
});

polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.udisks2.eject-media" &&
subject.isInGroup("plugdev")) {
return polkit.Result.YES;
}
});
Code:

$ groups
userx lp wheel floppy audio video cdrom plugdev power netdev scanner

I belong to plugdev, no go...

(I'm running a script on a manually mounted drive right now, I don't want to stop it just to spend all day trouble shooting this issue)...

hitest 11-23-2018 09:00 AM

1 Attachment(s)
Just tried plugging in my Kingston USB thumb drive on two of my Slackware64-current units. It auto-mounted.

BW-userx 11-23-2018 09:15 AM

1 Attachment(s)
Quote:

Originally Posted by hitest (Post 5929122)
Just tried plugging in my Kingston USB thumb drive on two of my Slackware64-current units. It auto-mounted.

yeaaahhhhhhhh ... that is xfce4 I'd expect it to work... ;) I use WM not DT for the most part. / still that does not fix this, as it did work, and has always worked with Slack, if this were a different distro I'd expect as much, but this is Slackware... Goooo Slack! :D :D

swap it to wmaker and let me know. I'll swap mine to xfce4 and check...

I was soooo wrong... xfce4 nope... 4TB_esaystore no mount

let me reboot this thing and see if that will fix it.

BW-userx 11-23-2018 09:30 AM

yeahhhhh thought that might do it, pull the ole Microsoft reboot trick. ;)

hitest 11-23-2018 09:40 AM

Quote:

Originally Posted by BW-userx (Post 5929129)
yeahhhhh thought that might do it, pull the ole Microsoft reboot trick. ;)

Haha, awesome!

https://www.youtube.com/watch?v=t2F1rFmyQmY

BW-userx 11-23-2018 09:54 AM

Quote:

Originally Posted by hitest (Post 5929131)

hahaha .. in my defense I did mention I'd not logged out or rebooted yet.. hehe too funny.


All times are GMT -5. The time now is 11:16 PM.