[Pkg-samba-maint] Bug#455479: failed to mount smbfs shares: mount error 13 = Permission denied

Tim Rühsen tim.ruehsen at openmediasystem.de
Mon Dec 10 11:09:24 UTC 2007


Am Montag, 10. Dezember 2007 schrieb Steve Langasek:
> On Mon, Dec 10, 2007 at 11:51:39AM +0100, Tim Ruehsen wrote:
> > mounting shares via smbfs (also tried cifs - same problem) result in:
> > mount error 13 = Permission denied
> >
> > the systems to mount are different linux systems:
> > - current stable
> > - 6 years old unstable
> > - SuSE 7.1
> >
> > downgrading just smbfs to 3.0.27a-1 completely removes the problem.
> > (dpkg -i --force-all smbfs_3.0.27a-1_i386.deb)
> >
> > my fstab entries look all the same (for example):
> > //dev-3/dev    /network/dev-3/dev  smbfs     
> > credentials=/etc/credentials.oms,uid=oms,gid=users,noauto,user
> >
> > the permissions for /network/dev-3/dev are 0777.
> > i could not track the problem down (strace, changing permissions on the
> > credential file, trying with different users incl. root, changed options)
>
> By any chance, to you have spaces before or after the equal sign in your
> credentials file?

Whow, good point. You just found the problem:
having a space before the username produces the error.
having a space before the password seems to be ok.

Thanks a lot.





More information about the Pkg-samba-maint mailing list