[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Samba Client: Permission Denied on Mounted Share



Andrew Sackville-West wrote:
> On Tue, Jan 16, 2007 at 10:59:44AM -0800, Toney wrote:
> >
> > Andrew Sackville-West wrote:
> > > On Tue, Jan 16, 2007 at 07:42:56AM -0800, Toney wrote:
> > > >
> > > > Greg Folkert wrote:
> > > > > On Mon, 2007-01-15 at 21:18 -0500, Toney wrote:
> > > > > > I'm running Samba Client on Sarge.
> > > > > >
> > > > > > When I mount Winders 2000 Server directories, I can read the files fine.
> > > > > >
> > > > > > When I mount Winders XP directories, I get "Permission Denied" with
> > > > > > every attempt to read the mounted directory.  (I get no errors when
> > > > > > mounting.)
> > > > > >
> > > > >
> > > > > What are the underlying UNIX UGO perms on the share?
> > > > >
> > > > > If the user you are connecting with doesn't have perms, you won't get to
> > > > > the files ...
> > > > >
> > > > > You really haven't given us an REAL setup or anything from your Debian
> > > > > machine.
> > > >
> > > > The UGM perms are drwxrwxrwx on the mout point
> > > > Help!
> > > >
> > >
> > > what are the mount options (from fstab or whatever you use to mount
> > > the shares).
> > >
> > > A
> >
> > These work.  Files are viewable on a Win 2000 Server
> >
> > /bin/mount -t smbfs -o username=administrator,password=not_shown
> > //server1/F$ /var/log/iis
> > /bin/mount -t smbfs -o username=administrator,password=not_shown
> > //server1/E$ /mnt/web
> > /bin/mount -t smbfs -o username=administrator,password=not_shown
> > //server2/marketing /mnt/marketing
> >
> > These mount without error, but give "Permission Denied" for all attemps
> > to list a directory:
> >
> > /bin/mount -t smbfs -o username=administrator,password=not_shown
> > //toney/A_Source /var/www/htdocs/toney
> > /bin/mount -t smbfs -o username=administrator,password=not_shown
> > //joe/Source /var/www/htdocs/joe
> > /bin/mount -t smbfs -o username=administrator,password=not_shown
> > //pete/Source /var/www/htdocs/pete
> >
> > The three developers, toney, joe, and pete have php development
> > directories on their local XP machines.  The development directories
> > are mounted on the Linux/Apache server so the php code can be tested on
> > Linux/Apache.
> >
> > If the Win 2000 Server shares are mounted on "/var/www/htdocs/toney",
> > there is no problem.  The files can be listed and viewed.
> >
> > If the XP shares are mounted on "/mnt/web" listing files generates
> > "Permission Denied".
>
> I agree with Greg, its probably an issue solved by using -t cifs
> instead of -t smbfs.
>
> A
>
> --rMWmSaSbD7nr+du9
> Content-Type: application/pgp-signature
> Content-Disposition: inline;
> 	filename="signature.asc"
> Content-Description: Digital signature
> X-Google-AttachSize: 190

You are quite right.  "-t cifs" sorts me right out.

Thanks,
Toney



Reply to: