[Samba] No access to root-level of shares on NT4 SP6 withSamba2.2.2 on FBSD-4.7

Florian Lorenzen florenzen at web.de
Fri Jan 17 13:57:01 GMT 2003


Hi John,

connecting with smbclient is without trouble.
But setting o+x does not change anything except for the error message:

When trying to copy a file to G:\ (\\claire\public) NT says

BLA cannot not be copied, a file of name BLA already exists.

When trying to move a file to G: (\\claire\public) NT says

G:\ cannot be created. Rott-directory (internal error).

As said, I've got German NT, thus error-messages are translated and not
original Microsoft English NT error-texts.

Seems to me that there is some trouble with the NT and not with the
Samba.

Florian

John H Terpstra wrote:
> 
> On Fri, 17 Jan 2003, Florian Lorenzen wrote:
> 
> Florian,
> 
> Suggest you try setting the 'x' bit on others at the directory top level.
> I know this is clutching at straws, but hang, got to try something.
> 
> Also, you might try to see if you can create a directory using smbclient
> to connect to the share root.
> 
> - John T.
> 
> > Hi John,
> >
> > this is my smb.conf-file:
> >
> > # /usr/local/etc/smb.conf
> > #
> > # $Id: smb.conf,v 1.1 2002/11/28 17:53:45 root Exp $
> > #
> >
> > [global]
> > workgroup = ossa6
> > netbios name = claire
> > server string = File-services on claire.
> > hosts allow = 192.168.0.0/255.255.255.0
> > max log size = 0
> > security = user
> > encrypt passwords = yes
> > smb passwd file = /usr/local/etc/smbpasswd
> > socket options = TCP_NODELAY
> > interfaces = 192.168.0.1/255.255.255.0
> > os level = 64
> > preferred master = yes
> > domain master = yes
> > domain logons = yes
> > local master = yes
> > logon drive = x:
> > logon home = \\%L\%u\profile
> > logon path = \\%L\%u\profile
> > logon script = logon.bat
> > wins support = yes
> > client code page = 850
> > load printers = yes
> > printcap = /etc/printcap
> >
> > [netlogon]
> > browseable = no
> > path = /usr/local/etc/netlogon
> > writeable = no
> >
> > [homes]
> > comment = %u's home directory.
> > browseable = no
> > writeable = yes
> > hide dot files = yes
> > veto files = /.*/network trash folder/
> > delete veto files = yes
> > create mask = 660
> > directory mask = 770
> >
> > [public]
> > path = /shares/public
> > writeable = yes
> > browseable = yes
> > create mask = 660
> > directory mask = 770
> > write list = @wg
> > hide dot files = yes
> > veto files = /.*/network trash folder/
> > delete veto files = yes
> >
> > [software]
> > path = /shares/software
> > writeable = yes
> > browseable = yes
> > create mask = 660
> > directory mask = 770
> > write list = @wg
> > hide dot files = yes
> > veto files = /.*/network trash folder/
> > delete veto files = yes
> >
> > [printers]
> > path = /var/spool/samba
> > printable = yes
> > printing = BSD
> > browseable = yes
> >
> >
> > And this is what ls says about the shares:
> >
> > claire:/shares # ll
> > total 8
> > drwxrws---   9 root  wg  512 17 Jan 01:52 public
> > drwxrws---  10 root  wg  512 16 Jan 22:44 software
> >
> > claire:/home # ll
> > total 16
> > drwxrws---  12 einar     einar    1024 17 Jan 01:50 einar
> > drwxrws---  20 florian   florian  1024 17 Jan 01:50 florian
> > drwxrws---   3 maria     maria     512 28 Nov 21:15 maria
> > drwxrws---   5 mldonkey  wg        512 16 Jan 08:43 mldonkey
> >
> >
> > But I don't really think, that it's a permission-problem, because it
> > works for the Win98 machine and I can create directories in the
> > top-level. I just cannot copy or move files (e. g. via drag&drop) to the
> > top-level. And some file-browsing dialogs, older ones (there are still
> > some like in old Win3.x) do not let me open something like G:
> > (\\claire\public).
> >
> > But perhaps, you have a clue, thanks in advance,
> >
> > Florian
> >
> >
> > John H Terpstra wrote:
> > >
> > > Florian,
> > >
> > > What are the permissions on the root of the share?
> > >
> > > What are your settings on the share definition (in your smb.conf file)?
> > >
> > > - John T.
> >
> 
> --
> John H Terpstra
> Email: jht at samba.org



More information about the samba mailing list