LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-23-2018, 07:07 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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)...

Last edited by BW-userx; 11-23-2018 at 08:04 AM.
 
Old 11-23-2018, 09:00 AM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Just tried plugging in my Kingston USB thumb drive on two of my Slackware64-current units. It auto-mounted.
Attached Thumbnails
Click image for larger version

Name:	mount.jpg
Views:	40
Size:	42.9 KB
ID:	29035  
 
Old 11-23-2018, 09:15 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by hitest View Post
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!

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.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_no201-usb-mount-8-11-23_09-23-52.png
Views:	72
Size:	128.1 KB
ID:	29036  

Last edited by BW-userx; 11-23-2018 at 09:29 AM.
 
1 members found this post helpful.
Old 11-23-2018, 09:30 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
yeahhhhh thought that might do it, pull the ole Microsoft reboot trick.
 
1 members found this post helpful.
Old 11-23-2018, 09:40 AM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by BW-userx View Post
yeahhhhh thought that might do it, pull the ole Microsoft reboot trick.
Haha, awesome!

https://www.youtube.com/watch?v=t2F1rFmyQmY
 
Old 11-23-2018, 09:54 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by hitest View Post
hahaha .. in my defense I did mention I'd not logged out or rebooted yet.. hehe too funny.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Why does /media/cdrecorder pop up with "cd /media/ + tab" when I have /media/usb too? SharpyWarpy Fedora 6 11-22-2012 01:05 AM
Lost all device icons and storage media is empty after upgrading to slack current okos Slackware 11 09-21-2008 02:13 AM
USB Automount: /media/USB Disk morxy Linux - Hardware 3 10-20-2006 08:08 AM
Slack Current and KDE 3.5 automount rje_NC Slackware 58 05-25-2006 08:58 PM
slack-current of dropline ? Hi all :-) slack-current of dropline ? frochet Slackware 2 06-11-2004 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration