Regular user (backup) can't mount file systems. Here are the particulars.
Slackware 10.0.0
/etc/fstab as follows:
/dev/hda2 swap swap defaults 0 0
/dev/hda1 / reiserfs defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hdb1 /backup/staging reiserfs noauto,users,rw,exec,umask=000 0 0
/dev/sda1 /backup/media reiserfs noauto,users,rw,exec,umask=000 0 0
The two partitions I am trying to mount are /dev/hdb1 and /dev/sda1. I am trying to mount these as user "backup"...
backup:x:1005:100:Backup System User:/backup:
The mount points are in the backup users home dir (/backup)...
drwxr-xr-x 2 backup users 48 2004-12-09 10:39 media/
drwxr-xr-x 2 backup users 48 2004-11-12 10:50 staging/
Permissions on the two devices in question are (unchanged from install)...
brw-rw---- 1 root disk 3, 65 2002-06-09 12:27 /dev/hdb1
brw-r----- 1 root disk 8, 1 1995-04-29 03:33 /dev/sda1
Permissions on mount and umount as follows...
-rwxr-xr-x 1 root bin 68804 2004-05-27 14:26 /bin/mount
-rwxr-xr-x 1 root bin 30968 2004-05-27 14:26 /bin/umount
I had made these suid to troubleshoot and was able to mount shares but that broke mounting of smb shares by a regular user (smbmnt is suid as per documentation to allow regular user mounts).
I have done a search in the slackware forums here for "fstab" and have found some suggestions which I have tried. These included changing permisions on the /dev files, other options in the fstab settings and opening up permissions fully on the mount points. So far I have only been able to mount these partitions as "backup" when mount/umount are suid.
My current system settings are as shown above.
Can anybody see problems with the above settings? I'm having a hard time figuring this one out.
Thanks for any help given and please ask if more information is needed.
Chris