[Samba] can't save 0 size file in samba 2.0.7

liu jack alhw2000 at hotmail.com
Wed Jul 12 03:49:41 GMT 2006

Thanks for your answers. 

> >    First question,if I creat one new NULL txt file in samba share
> > folder whose filesystem is FAT,and I open the file in notepad in
> > windows,type some
> > characters,and save the file,but error says "refuse to access".and if
> > the txt file has content,even if one character,there is no the
> > problem.
>Can you do this via the command line (without Samba)?  It could be a
>filesystem issue, and Samba is just passing along the error.

Yes,I can touch one file and edit it by vi in linux even with samba,but in 
windows I can't edit
the NULL txt file and save it. and I used samba 2.2.8a before, the error 
didn't exit,but samba 2.2.8a has one big bug for me:If I put one big file( 
>500M),there is erroe" The specified network name is no longer available 
",so I just use 2.0.7 now.

BTW: My work is to port samba into one embeded linux,so I can only use old 
version samba,
but this error exit in both embeded linux and FC4.
> >     Second question,if I have changed the smb.conf,for example,I
> > deleted one share folder for user1,but if user1 had opened the
> > share,then he can use the share folder yet unless I kill the smbd
> > process.
>From the manpage:
>Reloading the configuration file will not affect connections to any
>service that is already established. Either the user will have to
>disconnect from the service, or smbd killed and restarted.
> > Now I use samba 2.0.7 for my file server
>Samba 2.0.7 is pretty old, you should probably consider upgrading, it
>might fix a few of these problems.

More information about the samba mailing list