in reply to (OT) Question on flock
Whether you're using a cloned version of UNIX or the real thing, file locking does not prevent another process from modifying the file. File locks on UNIXish operating systems are advisory. See flock(2). The documentation also documents that locking over NFS does not work.
On Windows, you cannot overwrite a locked file. Maybe that is what you're thinking of?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: (OT) Question on flock
by kprasanna_79 (Hermit) on Oct 02, 2014 at 06:34 UTC | |
by Corion (Patriarch) on Oct 02, 2014 at 06:52 UTC | |
by Anonymous Monk on Oct 02, 2014 at 06:43 UTC |