By setting up specific shares as user shares in /etc/fstab, you can get around this, but you need root to modify your fstab anyway (only once though).
]]>umount -l /mnt/media
Lee
]]> A setuid smbmnt will only allow mounts on directories owned by the us-
er, and that the user has write permission on.
With something like this:
chmod u+s `which smbmnt`
]]>The problem is just that, you need to run mount or smbmount as root. After trying a lot of things, I have finally settled on the following solution.
What I do is write a bash script and then run it in "rc.local" at the end of the boot sequence. (actually all one line!)
mount -t smbfs -o username=lee,password=mypswd,uid=lee,gid=lee //samba/smb /mnt/smb
This is the best solution I have come up with so far.
Regards,
Lee
Additionally, whenever I go to mount /mnt/cd it says that permission is denied when it tries to open fstab, this is after I 640'd it and set it to the mount group.
I'm probably just missing something simple here, but I'll be damned if I know what it is.
]]>