Quantcast
Viewing latest article 1
Browse Latest Browse All 2

Answer by Stephen Harris for Does linux tar block write access to files

In a word, "no" :-)

Linux tar will not stop any other process from reading the files while it is running.

If you are concerned about writing the tar doesn't block that either, but if a file changes while tar is reading it then you'll get a warning message; if the directory structure changes while tar is in the middle of it then you might see some oddities in the results (missing files, duplicated files on both paths, etc).

So reads are perfectly safe, writes may require a little more care.


Viewing latest article 1
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>