[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 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
> > I am connecting as Winders domain administrator
> > The Winders security on the Winders shares is Everyone Full Control
> > smb.conf is what is installed by default by dselect.
> > This setup works with 2000 server shares, but not XP shares.
> > In other words, I have tried all the obvious things.
> > 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".

samba mounts are not listed in fstab on either the Debian or Slackware
machines.

Thanks,
Toney



Reply to: