I hope it is not excessively recovering any previous discussions.
The problem of an unprivileged user being unable to (un)mount usb devices without generating a"Not Aurthorized" message seems to have two strands to it.
- * SLiM, the dislay manager
- * ConsoleKit, keeps track of users, sessions, etc
1. A permanent resolution
2. Two alternative workarounds that work with ROX-filer and other file managers
3. Wait until the cause of the symptoms have been fixed
Probably none of the options are ideal for antiX.
Permanent Resolution
One posible resolution is to replace SLiM with GDM3 as described in this thread:
usb-not-authorized-in-pcmanfm-nautilus-t3280.html
This may not be a palatable choice for antiX at present as it involves a major change to a main component. I am guessing that SLiM was chosen due to it being light in its use of system resources. I have no figures to show whether GDM3 is any better or worse in this respect. Historically, GDM has tended to be more heavyweight and this probably goes against the antiX philosophy. SLiM is now unmaintained, so there may be a question over it remaining useful in the longer term.
Alternative Workarounds
A bug has been reported in ConsoleKit and is currently being worked on.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597937"
linktext was:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597937"
====================================
The the bug report and this message both report success in downgrading the version of ConsoleKit.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://lists.debian.org/debian-user/2011/06/msg01586.html"
linktext was:"http://lists.debian.org/debian-user/201 ... 01586.html"
====================================
I have not yet enough experience with antiX to know how to conduct such a downgrade and pinning. Perhaps one of the more experienced antiX user community could test whether such an action does resolve the issue. In any event I would welcome a description of the method of downgrading and pinning. My guess is that if it works this represents a good holding position.
Success has been reported by making a change to policykit.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://blog.dale.id.au/archives/1068"
linktext was:"http://blog.dale.id.au/archives/1068"
====================================
I have tested this one and its does work, restoring what might be described as usual and expected capabilities to an unprivileged user. It is not clear how long this method might remain usable as it has been suggested that it exploits a bug. If anyone wishes to test this in conjunction with the unplugdrive.sh script it is best to rename /etc/udev/rules.d/99-usbstorage as 99-usbstorage.unused.
Wait for an Upstream Fix
A self explanatory description.