SMB problem: mounting a share on gutsy

David McGlone d.mcglone at att.net
Fri Dec 7 03:33:20 UTC 2007


On Thursday 06 December 2007 10:18:24 pm David McGlone wrote:
> On Thursday 06 December 2007 10:58:51 am Karl wrote:
> > D. R. Evans wrote:
> > > So I now have:
> > >
> > > //192.168.0.244/C   /hpxp/c  cifs
> > > defaults,user,guest,uid=n7dr,username=N7DR 0 0
> > >
> > > which works perfectly when I am root (yay!), but as an ordinary user I
> > > get:
> > >
> > > [H:~] mount /hpxp/c
> > > mount error: permission denied or not superuser and mount.cifs not
> > > installed SUID
> >
> > You need an s at the end of "user" to let ordinary users mount and
> > umount.
>
> I mount my partitions as user on the server, or else I cannot write to them
> from my laptop.  Here is my fstab on the server and I made user david the
> owner of /media/d and changed the uid to 1000.
>
> UUID=703D-1E35 /media/d vfat
> defaults,utf8,umask=007,loop,uid=1000,gid=46,auto,r
> w,users 0 1
>
> Here's an ls -l of /media where I am owner of the partition "d"
>
> It used to be 'root plugdev' but I changed it to:
>
> david at buddy:/media$ ls -l
> drwxrwx---  8 david plugdev 4096 1969-12-31 19:00 d

Sorry I forgot a detail:

unmount as root before changing ownership, then mount as user.

-- 
David M.




More information about the kubuntu-users mailing list