Yea, but you have to be root to use the mount command... The only
time I've been able to use mount as normal user is when the entry is
already in /etc/fstab.
Also, I can use smbmount //lnx1/steve or whatever sharename as root
without any trouble.
On Tue, Jun 03, 2003 at 11:33:16PM -0700, Craig White wrote:
> On Tue, 2003-06-03 at 21:35, Alan Dayley wrote:
> > Steve Holmes wrote:
> >
> > >Hey, I'm trying to do smbmounts as a normal user so I can access my
> > >home directory on my server. When I do the following,
> > >smbmount //lnx1/steve /lnx1
> > >I get the following response;
> > >cannot mount on /lnx1: Operation not permitted
> > >smbmnt failed: 1
> > >
> > >I set the setuid flag on smbmnt as suggested by the program when I
> > >tried it the first time and got a different error. The share name is
> > >'steve' which is my user dir on the server and /lnx1, the local mount
> > >point is like any other mount point owned by root. I know that normal
> > >mounts can't usually be done by normal users but I think for mounting
> > >user shares, this is the only way to go.
> > >
> > >Am I missing something here? Is this possible? BTW, I'm running
> > >Slackware 9.0 with a 2.4.20 kernel.
> > >
> > >
> > >
> > Try:
> >
> > smbmount \\\\lnx1\\steve /lnx1
> >
> > Been there. Fought that.
> >
> -----
> Yeah, I think that you have to escape the backslash but I think you can
> just fake it with the forward slash...
>
> smbmount //lnx1/steve /lnx1
>
> but I don't use smbmount...I use mount
>
> mount -t smbfs -o username=what_ever_user_name,password=users_password
> //lnx1/steve /lnx1
>
> Craig
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--
Please avoid sending me Word or PowerPoint attachments.
See
http://www.fsf.org/philosophy/no-word-attachments.html