[Pkg-samba-maint] Bug#403700: smbfs: mount.cifs fails as normal user
bugs at niluje.net
bugs at niluje.net
Tue Dec 19 11:02:27 UTC 2006
the faulty line here :
if((statbuf.st_uid == getuid())
patch attached
On Tuesday 19 December, 2006 � 06:37:59AM +0100, Christian Perrier wrote:
> Quoting juan (bugs at niluje.net):
> > Package: smbfs
> > Version: 3.0.23d-2+b1
> > Severity: normal
> >
> >
> > mount.cifs //dozo/myshare /mnt/ -o guest
> > mount error: permission denied or not superuser and mount.cifs not
> > installed SUID
> >
> > $ ls -l /sbin/*cifs
> > -rwsr-xr-x 1 root root 20440 Dec 4 19:09 /sbin/mount.cifs*
> > -rwsr-xr-x 1 root root 8888 Dec 4 19:09 /sbin/umount.cifs*
>
> Well:
>
> bubulle at mykerinos:~/tmp> mount.cifs //localhost/public ~/tmp/tmp-samba -o bubulle
> Password:
> bubulle at mykerinos:~/tmp>
>
> root at mykerinos:~> ls -l /sbin/*cifs
> -rwsr-xr-x 1 root root 20440 2006-12-04 19:09 /sbin/mount.cifs
> -rwsr-xr-x 1 root root 8888 2006-12-04 19:09 /sbin/umount.cifs
>
>
> Probably something else than samba directly....
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mount.cifs.c.patch
Type: text/x-diff
Size: 649 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20061219/f2f896a6/mount.cifs.c.bin
More information about the Pkg-samba-maint
mailing list