You are not logged in.
Pages: 1
Hey guys,
it is strange, but i cannot automount or access usb-devices anymore.
I am in the storage-group
id says:
uid=1000(philipp) gid=100(users) Gruppen=100(users),7(lp),10(wheel),82(hal),90(network),91(video),92(audio),93(optical),94(floppy),95(storage)
When i open nautilus or pcmanfm as root i can browse the data on the device, but as normal user i
can't
Can somebody help me?
Last edited by Svlad Cjelli (2010-02-14 10:29:00)
Offline
Ok,
so this is my fstab:
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
/dev/sda2 / ext4 defaults,noatime 0 0
/dev/sda3 swap swap defaults 0 0
/dev/sda4 /media/Data ntfs-3g auto,users,rw,noatime 0 0
But i never managed mounting usb-devices via fstab.
I never had any problems until now...
The error-message i get when i plug in the usb-device is the following:
If i then want to access the device via pcmanfm the next error pops up:
Do you
Offline
Check the HAL section in wiki .
Ok i did, and i edited some .fdi-files from the troubleshooting-section..
Nothing happened. I CAN browse the files if i open a file-manager as root, but i cant as normal user.
I dont have any line regarding my usb-device in fstab. And i do not want to mount them via fstab. I just want to have plug'n'play :-(
Offline
It uses fat16...
I think it is mounted when i plug in the device... i simply cannot browse it because i am "not authorized".
[philipp@winchester ~]$ sudo fdisk -l
Platte /dev/sda: 160.0 GByte, 160041885696 Byte
255 Köpfe, 63 Sektoren/Spur, 19457 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0x10a919b9
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 1 3881 31174101 7 HPFS/NTFS
/dev/sda2 3882 5098 9775552+ 83 Linux
/dev/sda3 5099 5489 3140707+ 82 Linux Swap / Solaris
/dev/sda4 5490 19457 112197960 7 HPFS/NTFS
Platte /dev/sdb: 2004 MByte, 2004877312 Byte
129 Köpfe, 32 Sektoren/Spur, 948 Zylinder
Einheiten = Zylinder von 4128 × 512 = 2113536 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 * 1 949 1957872 6 FAT16
Partition 1 hat unterschiedliche phys./log. Enden:
phys=(956, 128, 32) logisch=(948, 75, 32)
My device is /dev/sdb
Offline
I had the same problem some time ago...
It is solved on Polish Arch Linux forum http://forum.archlinux.pl/viewtopic.php?id=4409
I think google translator will help.
If not, there is second post by user "hash", and the first code is that, which you must add to /etc/dbus-1/system.d/hal.conf
Also, edit /etc/group and add yourself to "plugdev" group.
For me it worked.
Last edited by Phitherek_ (2010-02-14 19:31:36)
Posted by Phitherek_
Offline
It works for real !!! Tei raz wshustko okei ))
Here is full hal.conf and make sure that you are in "plugdev:x:46:USER"
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- This configuration file specifies the required security policies
for the HAL to work. -->
<!-- Only root or user hal can own the HAL service -->
<policy user="hal">
<allow own="org.freedesktop.Hal"/>
</policy>
<policy user="root">
<allow own="org.freedesktop.Hal"/>
</policy>
<!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
<policy context="default">
<allow send_interface="org.freedesktop.Hal.Manager"/>
<allow send_interface="org.freedesktop.Hal.Device"/>
<allow receive_interface="org.freedesktop.Hal.Manager"
receive_sender="org.freedesktop.Hal"/>
<allow receive_interface="org.freedesktop.Hal.Device"
receive_sender="org.freedesktop.Hal"/>
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
<allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement"
receive_sender="org.freedesktop.Hal"/>
<allow receive_interface="org.freedesktop.Hal.Device.LaptopPanel"
receive_sender="org.freedesktop.Hal"/>
<allow receive_interface="org.freedesktop.Hal.Device.Volume"
receive_sender="org.freedesktop.Hal"/>
<allow receive_interface="org.freedesktop.Hal.Device.Volume.Crypto"
receive_sender="org.freedesktop.Hal"/>
</policy>
<!-- Default policy for the exported interfaces -->
<policy context="default">
<deny send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<deny send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
<deny send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
<deny send_interface="org.freedesktop.Hal.Device.Volume"/>
<deny send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
<policy group="power">
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
</policy>
<policy group="storage">
<allow send_interface="org.freedesktop.Hal.Device.Volume"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
<policy group="plugdev">
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
<!-- You can change this to a more suitable user, or make per-group -->
<policy user="0">
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
</busconfig>
Phitherek_
Dzenkyu,and sorry for copying your post. but I need to save this page with full info ))
Offline
Hi,
that does not work for me
I edited the hal.conf, but i cannot add my user to plugdev, because plugdev does not exist
[root@winchester ~]# gpasswd -a philipp plugdev
gpasswd: group 'plugdev' does not exist in /etc/group
What can i do?
EDIT:
I added a group via
groupadd plugdev
and made myself a member...
I still can't access my usb-device :-(
Last edited by Svlad Cjelli (2010-02-15 15:01:26)
Offline
I asume that you are using startx or slim?
change the line that starts your wm/de to "exec ck-launch-session yourwm"
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I asume that you are using startx or slim?
change the line that starts your wm/de to "exec ck-launch-session yourwm"
HOORRAAYY! Thats it. I just switched from gdm to slim.
What does this "ck-lauch" mean?
Thank you so much Mr.Elendig!
greets
Offline
I edited the hal.conf, but i cannot add my user to plugdev, because plugdev does not exist
add it mannualy by hands
Offline
I don't know why, I installed arch on laptop again, and the issue is not working for me, but I did all steps
1. added uses to plugdev group
2, changed hal.conf file
3. starting slim like it saids
hunar is connecting USB 1 tb drive but don't have write permission o_O
but I still can write on small 8 gig flash....
can someone help ?
Last edited by oGRE2080 (2010-05-30 22:37:00)
Offline
Hello,
Make sure you have dbus enabled as a daemon in nano /etc/rc.conf....that will fix your problem the right way I believe. For the GDM, that is:)
Last edited by Taoist (2010-08-22 00:44:12)
Offline
I just followed the "automount with udev" thingy from the wiki:
http://wiki.archlinux.org/index.php/Ude … if_present and commented out my usb entries on my fstab It just works for me.
Sex is not the answer.
Sex is the question, and Yes is the answer.
Offline
Pages: 1