Re: [Samba] Bug when copying files from a Samba directory mounted by cifs
- Date: Mon, 4 Jun 2018 09:30:11 -0700
- From: Jeremy Allison via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Bug when copying files from a Samba directory mounted by cifs
On Mon, Jun 04, 2018 at 03:55:52PM +0100, Andrew Wood via samba wrote:
> I've been having a problem copying files from a Samba directory, mounted by cifs
> so that it's accessible from a Linux machine.
> The autofs service is used to mount the Samba directory on /samba/public/name
> with mount options "-fstype=cifs,guest,file_mode=0664,dir_mode=0775".
> If I do this:
> touch /samba/public/name/foo # create an empty file
> cp /samba/public/name/foo .
> then the copy of 'foo' seems to keep growing and will eventually fill up the
> disk partition, unless the 'cp' process is killed.
> I've found I can work around this problem by using 'rsync' or 'smbclient'
> instead. 'scp' gives the same problem as 'cp'.
> The Samba server is a Docker container running CentOS 6.9, and Samba 3.6.23.
> The clients are running OpenSUSE Leap 42.3, and cifs-utils 6.5-5.1.
> Can anyone help with this? Is it a known bug?
Not a known bug on the Samba side. Might be a possible
cifsfs bug. The version of Samba you're using is very
old though, and well out of support.
To unsubscribe from this list go to the following URL and read the