Re: Mounting Samba and fstab problem
On Sat, Dec 06, 2008 at 08:16:06PM +0200, subscriptions wrote:
> On Sat, 2008-12-06 at 17:52 +0100, Jesse Sheidlower wrote:
> >
> > I'm trying to set up a Samba share on a Lenny laptop that I
> > can access as a regular user (i.e., me). I've tried going
> > through the man pages and Googling, but I'm still hung up on
> > something.
> >
> > I can mount it manually with:
> >
> > $ sudo mount -t smbfs -o username=jester //192.168.1.10/HD /mnt/RemoteDisk
> >
> > and then entering the Samba password. However, then I only
> > have access as root.
>
> ...
>
> > Where is my mistake here? I've tried various things with no luck.
> >
> > Thanks.
> >
> > Jesse Sheidlower
>
> Use samba mount (as user, no fstab needed):
> $ smbmount //192.168.1.10/HD mount-point
>
> Where mount-point has 'rwx' for you!
Oh, god, thanks so much. The problem was just that
/mnt/RemoteDisk was owned by root; once I changed this there's
no problem with either an fstab-based mount or smbmount.
Thanks!
Jesse
Reply to: