On 03/10/2016 02:42 AM, Linda Walsh wrote:
Istvan Gabor wrote:
Hello:
This occurs in openSUSE 13.1 with KDE3 as default desktop. I have a Samsung external USB hard drive. When I plug it in it becomes mounted:
df -h /dev/sdd1 932G 270G 662G 29% /media/SAMSUNG
ls -l /dev/sdd1 brw-rw---- 1 root disk 8, 49 Mar 9 23:12 /dev/sdd1
The desktop user is member of group disk. === That only lets the user write directly to the device, doesn't control mount privs.
Your /etc/fstab needs to have an entry for the mount with "user" in the options to allow users to mount/umount it.
NOT! There's something wrong with a setup here but I can't say what; maybe there's been some specific DM setting for the device with that name. When i insert a USB stick in the front of my computer and am logged in under KDE4 I get a popup from the "Device notifier" in my bottom panel's System Tray offering option to do with mounting/opening the USB. it get mounted under /run, the tmpfs. Here are the entries from mnttab: /dev/sdb1 on /run/media/anton/c73c2779-c12a-48ef-ae0d-7b2017d848dc type btrfs (rw,nosuid,nodev,relatime,space_cache,subvolid=5,subvol=/,uhelper=udisks2) /dev/sdb1 on /var/run/media/anton/c73c2779-c12a-48ef-ae0d-7b2017d848dc type btrfs (rw,nosuid,nodev,relatime,space_cache,subvolid=5,subvol=/) The stick in question is one that I put a bootable system on. hence the BtrFS. That's beside the point. This is dynamically generated by rules for udisk. (Aks "more systemd nonsense") There is NO NEED FOR AN ENTRY IN /etc/fstab !! Of course those rules determine not only the 'where' but also the permissions :-) The action of the Device Notfier can, under KDE4, by overridden. There's a option under Device Notifier Settings -> Removable Devices to alter all this behaviour, as well as to have specific actions based on the "name" of the USB device attached, action if a device previously mounted is seen again and more. But all this is dealt with completely without the need for an entry in /etc/fstab. The difference here is that Istvan is running KDE3 under 13.1 and I'm running KDE4 under 13.1. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org