Jump to content

Please define "Locked files"


Recommended Posts

My Pro version shows a tool for assassin that deletes Locked files. Oddly enough, there is nothing in Help that Helps. Locked files are not even mentioned [that I could find]

I have several encrypted files that hide financial records, banking info, etc. Are encrypted files considered Locked?

What are locked files?

thanks

Link to post
Share on other sites

Hello and :welcome:

Normally a locked file is just locked because another program is using the file and you are not allowed to do anything with the file including delete it. Encrypted files may be locked but that would be a different form of locking.....

This is from Wikipedia....

Lock files

Shell scripts and other programs often use a strategy similar to the use of file locking: creation of lock files, which are files whose contents are irrelevant (although often one will find the process identifier of the holder of the lock in the file) and whose sole purpose is to signal by their presence that some resource is locked. A lock file is often the best approach if the resource to be controlled is not a regular file at all, so using methods for locking files does not apply. For example, a lock file might govern access to a set of related resources, such as several different files, directories, a group of disk partitions, or selected access to higher level protocols like servers or database connections.

When using lock files, care must be taken to ensure that operations are atomic. To obtain a lock, the process must verify that the lock file does not exist and then create it, whilst preventing another process from creating it in the meantime. Various methods to do this include:

  • Using the lockfile command (a conditional semaphore-file creator distributed in the procmail package).
  • System calls that create a file, but fail if the file already exists. (System calls are available from languages such as C or C++, and shell scripts can make use of noclobber)
  • Using the mkdir command and checking the exit code for failure[5]

Certain Mozilla products (such as Firefox, Thunderbird, Sunbird) use this type of file resource lock mechanism (using a temporary file named "parent.lock".)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
Back to top
×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.