Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[SOLVED] USB and mount the partition as a normal user

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
happ
Tux's lil' helper
Tux's lil' helper
Posts: 117
Joined: Fri Mar 07, 2008 4:44 pm

[SOLVED] USB and mount the partition as a normal user

  • Quote

Post by happ » Mon Jul 21, 2014 12:21 pm

I have a problem with the mount, USB disks and disk partitions by ordinary mplayer environment LXDE with "pcmanfm" - root account and everything works ok

user belongs to the group

Code: Select all

$ groups zbyszek
disk wheel floppy uucp cdrom video usb users plugdev
I created the file 55-storage.pkla in catalog /etc/polkit-1/localauthority/50-local.d

content

Code: Select all

[Storage Permissions]
Identity=unix-group:plugdev
Action=orgfreedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.fredesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown
ResultAny=yes
ResultActive=yes
ResultInactive=no
in file ~/.xinitrc I entry

Code: Select all

exec ck-launch-session startlxde
The problem is that I can not mount the normal partition that is on the disk, and after inserting the usb "pcmanfm" detects my USB drive but when I try to mount any of them have a message

Code: Select all

Not authorized to perform operation
Can I count on to help solve your problem?
Last edited by happ on Thu Jul 24, 2014 10:37 am, edited 1 time in total.
Jeśli wiesz, że nic nie wiesz, to coś wiesz, Jeśli wiesz że nic nie wiesz, to nic nie wiesz, więc nie wierz, że nic nie wiesz
Top
SamuliSuominen
Retired Dev
Retired Dev
Posts: 2133
Joined: Fri Sep 30, 2005 8:38 am
Location: Finland

  • Quote

Post by SamuliSuominen » Mon Jul 21, 2014 4:40 pm

*.pkla file format is obsolete and doesn't work anymore, but there is compability package sys-auth/polkit-pkla-compat that makes them work again.

but instead of installing sys-auth/polkit-pkla-compat, you should use *.rules files that go to /etc/polkit-1/rules.d/, you can look examples from here:

http://wiki.archlinux.org/index.php/Pol ... r_any_user

and here (notice the directory has both, old *.pkla and new *.rules for comparison):

http://sources.gentoo.org/cgi-bin/viewv ... ger/files/

and here (notice the directory has both, old *.pkla and new *.rules for comparison):

http://sources.gentoo.org/cgi-bin/viewv ... ger/files/

and you should verify your ConsoleKit session is working correctly, using first post of this thread:

http://forums.gentoo.org/viewtopic-t-85 ... art-0.html
Top
happ
Tux's lil' helper
Tux's lil' helper
Posts: 117
Joined: Fri Mar 07, 2008 4:44 pm

  • Quote

Post by happ » Thu Jul 24, 2014 10:37 am

I did as you said and I was not working but looking for further reasons and it turned out that I had not included some flag in the file "make.conf"

I solved the problem by using the command

Code: Select all

USE = "pam policykit consolekit dbus udev udisks upower" emerge -auvDN world
once he has compiled these packages with the flags and everything works as it should and I also thanks to this activated options to turn on and turn off the computer with a regular user

Thanks for your help
Jeśli wiesz, że nic nie wiesz, to coś wiesz, Jeśli wiesz że nic nie wiesz, to nic nie wiesz, więc nie wierz, że nic nie wiesz
Top
Post Reply

3 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy