LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-14-2005, 10:43 PM   #1
czelaya
LQ Newbie
 
Registered: Apr 2004
Posts: 11

Rep: Reputation: 0
Question Interesting Issue - File Locking


Hello all:

I have an interesting issue I've been traing to solve. I have windows clients copying files to a samba server, the issue its that I have a process running on the samba server that reads the shared directory for a new file, and when it finds a file, it copies that file to another directory.

The problem its that when the file is very big and when that process read the directory, it copies parts of the file that its been copied (that its not complete jet) to the other directory.

I need to lock that file in the samba share until the client finish copying it, but I dont know how to do it.

Any hint on this??

Thanks in advanced..
 
Old 10-15-2005, 05:48 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
You could use NFS, or you could generate it with a different name and rename it when you're finished
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Interesting Install Issue (Dual Boot) eminence Linux - Software 11 06-13-2005 11:08 PM
emu10k1 interesting sound issue lemonhead Linux - Hardware 2 10-14-2003 12:47 AM
Hi guys and gals, I'm having an interesting lilo issue in Mandrake 8, Please help. superimposed Linux - Software 5 07-08-2003 09:43 PM
Help Please - Interesting Network Issue ned911 Linux - Networking 6 12-27-2002 02:45 PM
RH 8.0 interesting install issue Risc91 Linux - Distributions 5 10-04-2002 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration