View previous topic :: View next topic |
Author |
Message |
happ Tux's lil' helper
Joined: 07 Mar 2008 Posts: 117
|
Posted: Mon Jul 21, 2014 12:21 pm Post subject: [SOLVED] USB and mount the partition as a normal user |
|
|
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: |
$ 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: |
[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: | 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: |
Not authorized to perform operation
|
Can I count on to help solve your problem? _________________ 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
Last edited by happ on Thu Jul 24, 2014 10:37 am; edited 1 time in total |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
|
Back to top |
|
|
happ Tux's lil' helper
Joined: 07 Mar 2008 Posts: 117
|
Posted: Thu Jul 24, 2014 10:37 am Post subject: |
|
|
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: | 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 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|