[Samba] Is this a bug?
Matt Hook
hookenz at yahoo.co.uk
Sun Jun 16 14:54:02 GMT 2002
Directory permissions:
$ ls -l
total 2
drwxrwxrwx 3 root staff 512 Jun 17 09:11 public
$
ps aux reveals that smbd & nmbd are both running as
the root user.
This is my hacked together smb.conf. By the way,
I'm also a user of the wheel group.
# cat /usr/local/etc/smb.conf
[global]
workgroup = NARNIA
netbios name = POGO
os level = 64
preferred master = yes
domain master = yes
local master = yes
security = user
encrypt passwords = yes
domain logons = yes
logon path = \\%Nprofiles\%u
logon drive = H:
logon home = \\POGO\%u
logon script = logon.cmd
domain admin group = @wheel
add user script = /usr/sbin/adduser -n -g machines
-c Machine -d /dev/null -s
/bin/false %m$
[netlogon]
path = /home/samba/netlogon
writeable = no
writelist = ntadmin
[profiles]
path = /home/samba/profiles
writeable = yes
create mask = 0600
directory mask = 0700
[homes]
comment = Home Directories
browseable = no
writeable = yes
force create mode = 0777
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writeable = no
printable = yes
public = yes
[public]
path = /home/public
public = yes
only guest = yes
writeable = yes
printable = no
vfs object = /usr/local/lib/samba/recycle.so
vfs options= recycle=.recycle
write list = @staff
--- Allan Peda <pedaa at rockefeller.edu> wrote: > Check
your file and directory permissions carefully.
> What user is samba
> running as, etc. - Just a guess.
>
> /a
>
> On Thu, 2002-06-13 at 18:09, Matt Hook wrote:
> > I have a samba share with no files on it.
> > I copy a file from Windows 2000 SP2 and it prompts
> me
> > with a dialog like the one outlined below:
> >
> >
>
+++++++++++++++++++++++++++++++++++++++++++++++++++++
> > The folder already contains a file named
> > 'PumpSim.exe'.
> >
> > Would you like to replace the existing file
> > 0 bytes
> > modified: Today, 14 June, 2002, 9:57:15AM
> >
> > with this one?
> > 573 KB
> > modified: Friday, 8 March, 2002, 10:04:18 AM
> >
> > YES NO
> >
>
++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >
> >
> > This happens for every file I copy whether it
> > exists or not. If I click "YES", the file is
> copied.
> > If I click "NO" the file is not copied but I'm
> left
> > with a 0KB file on the share. This does not seem
> > to occur on WinNT 4.0 SP6 Clients that I've tried.
> >
> > Why?
> >
> > - Matt
> >
http://www.sold.com.au - SOLD.com.au
- Find yourself a bargain!
More information about the samba
mailing list