Anton Aylward wrote:
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!
Ah, the inscrutable Anton. NOT _WHAT_? My man page for mount has: FILESYSTEM-INDEPENDENT MOUNT OPTIONS ... user Allow an ordinary user to mount the filesystem. The name of the mounting user is written to mtab (or to the private libmount file in /run/mount on system without regular mtab) so that he can unmount the filesystem again. This option implies the options noexec, nosuid, and nodev (unless overridden by subse- quent options, as in the option line user,exec,dev,suid). nouser Forbid an ordinary (i.e., non-root) user to mount the filesys- tem. This is the default; it does not imply any other options. users Allow every user to mount and unmount the filesystem. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line users,exec,dev,suid). ----- The default for mounts is "nouser" which forbids an ordinary non-root user to mount a file system. Using 'user' or 'users' allow [a] normal user[s] to mount & unmount a file system. What does your mount manpage say?
There is NO NEED FOR AN ENTRY IN /etc/fstab !!
Oh? I didn't see him give any of the 'user' options on his mount option besides which they wouldn't work unless he was root.
The difference here is that Istvan is running KDE3 under 13.1 and I'm running KDE4 under 13.1.
And I am on 13.2. You are saying there was a special FS under 13.1 that didn't exist before or after? If that's the case, you are being exceptionally rude to someone who was quoting the system manpages... though, I grant that it might not be exceptional for you. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org