Hi all On 6/5/08, Marc Shapiro <[EMAIL PROTECTED]> wrote: > > Tony Heal wrote: > >> >> I am trying to mount an smbfs as the backup user and something is not >> right. I can run this as root and it works fine >> >> mount -t smbfs –o owner=backup -o lfs -o >> username=administrator,password=XXXXXX //192.168.2.200/drobo/media/drobo/ >> >> yet when I mount it that way the backup user has no permissions. If I try >> and mount it as the backup user I get a message stating only root can do >> that. >> >> mount: only root can do that > > Yeah.
> Anyone know how I can mount this so that the backup user can write to it >> >> I don't know if there is anything different about smbfs, but when I get > that message from mount it means either: > > There is no entry in /etc/fstab for that filesystem/mountpoint combo > or > There is an fstab entry, but it does not have the user option > Yes, a solution could be to add a fstab entry. Another way is to use smbmount. You need to set uid root smbmnt, smbmount, smbumount, mount, umount (chmod u+s ..). And the mount the remote share with smbmount command: smbmount //remoteshare /mount/point -o username=user,password=password,workgroup=workgroup It works for me. I use many remote shares, and the mount is related to some other scripts, so i prefer this way to the fstab edit. Hope it helps you. Regards M