[Samba] File locks?
jyoung at cpsc.ucalgary.ca
Thu Apr 10 17:42:22 GMT 2008
Thanks for the info. I am using the smbfs debian package, but mount tells me
that type is cifs
//nsh/jyoung on /mnt/uni type cifs (rw,mand)
I have updated my fstab:
//nsh/jyoung /mnt/uni cifs
and remounted, same problem.
On 10/04/2008, Jeremy Allison <jra at samba.org> wrote:
> On Thu, Apr 10, 2008 at 10:12:54AM -0600, Jim Young wrote:
> > Hello,
> > Recently, the following problem started happening with a particular
> > server:
> > If i have a file open for reading (say, a pdf in xpdf) and then try to
> > to it (say, through recompiling a latex document) it complains that it
> > cannot open the file for writing.
> > this seems like a file lock issue but I am unsure where it is happening.
> > previous usage should be perfectly safe since xpdf should only open for
> > reading.
> > This problem does not happen locally or when I connect to a different
> > server (a windows machine). I can also ssh into the remote server, port
> > , and my local process can write to the file. It is the samba connection
> > that is making the lock.
> > I am running Debian Unstable, using smbclient/smbfs 3.0.28a-1 to
> > to a samba server (unix backend) on my university network. Server:
> > Samba3.0.10-1.4E
> > I mount the smb share in my fstab as follows:
> > //myserver/jyoung /mnt/uni smbfs
> > credentials=credsfile,gid=jyoung,uid=jyoung,auto,rw
> smbfs is going out of support soon. You should be using cifsfs
James Young, B.Sc.
Interactions laboratory, Department of Computer Science, University of
2500 University Drive NW, Calgary, Alberta, Canada, T2N 1N4
E-mail: jim.young at ucalgary.ca
More information about the samba