[Samba] (no subject)

michael hankins mdhankins at yahoo.com
Tue Apr 30 12:16:02 GMT 2002

Hi.  I am having a problem with Samba 2.2.3a running
on Mandrake Linux 8.2.  I posted this issue to the
comp.protocols.smb newsgroup and didn't get a
response.  I am hoping that someone here can assist

I setup a shared directory called SHARED in
/home/shared.  /home is in its own ext3 partition.  I
setup a group called "shared" that has rwx rights and
ownership of this directory.  All of my samba users
are in this group.

I copied about 40gb of mp3 files from a computer
running XP Pro to this share without any problems.  I
then started copying some old documents to the share. 
At this point I started getting some strage errors. 
The error is: "Cannot copy <file>: Access Denied. The
source file may be in use."  At this point the target
directory has a 0-byte file with the same name as the
file that I was trying to copy.  

So far I have seen this problem happen when trying to
copy files with .txt, .doc, .pdf, and .msi extensions.
 All have various different file sizes under 3mb.  At
one point I checked to see what rights were set to
these 0-byte files and found that they were different
than the other "good" files that were copied over.  I
don't have with me right now what those rights were (I
am at work now and the Linux box is at home), but can
find out what it is if it would help to resolve the

Here is a copy of my samba.conf:

# Samba config file created using SWAT
# from (
# Date: 2002/04/20 14:03:45

# Global parameters
	workgroup = AN0MALY
	server string = Samba Server %v
	encrypt passwords = Yes
	log file = /var/log/samba/log.%m
	max log size = 50
	socket options = TCP_NODELAY SO_SNDBUF=8192
	printcap name = lpstat
	dns proxy = No
	wins support = Yes
	printing = cups

	comment = Home Directories
	read only = No
	browseable = No

	comment = All Printers
	path = /var/spool/samba
	create mask = 0700
	guest ok = Yes
	printable = Yes
	print command = lpr-cups -P %p -o raw %s -r   # using
client side printer
	browseable = No

	path = /var/lib/samba/printers
	write list = @adm root

	comment = shared stuff
	path = /home/shared
	read only = No

I have tried some possible fixes that include setting 
"write list" to the share "shared", and changing some
of the "mask" settings so the 0-byte files that are
created have the same rights as the "good" files. 
Neither of these changes did anything to resolve my

Thanks in advance for any help that anyone has to
offer me.

Michael Hankins


Do You Yahoo!?
Yahoo! Health - your guide to health and wellness

More information about the samba mailing list