This document explains how to lock files and directories from editing that you are sharing with other users.
Locking Files and DirectoriesLocking files and directories prevents other users from editing or saving changes to a particular file for a particular period of time. My WebSpace enables you to control who is able to write to any item (file or directory) at any specific time. A lock stays locked for 7 days or until you release it, whichever comes first. Locking a file does not prevent a user from reading or saving the file to their local computer.
Types of Locks: Simple, Partial and Total
Simple, partial and total locks differ according to whether they apply only to a single file or to a single directory versus applying to a directory and all of its contents. Simple locks are applied to a specific file; partial locks are applied to a directory, but not the files within the directory, whereas a total lock applies to a directory and all of its contents, including both files and subdirectories.
For instance, if you are working on several files within a particular directory, you may wish to lock the whole directory for a time to prevent anyone else's writing to any document in that directory. Such a situation requires a total lock. It is important to note that you can only place a total lock on a directory which has no current locks on its contents. If you attempt to create a total lock on a directory which has some locked content, you will receive an error.
To create a lock on a file:
There are two ways to create a lock on a file:
To create a lock on a directory:
There are two ways to create a lock on a directory:
To remove a lock on a file or directory:
Given the correct permission, there are two ways to remove a lock on a file or directory. Note the "correct
permission" is indicated by the appearance of a green lock.
Lock Icon Definitions
There are several types of lock icons which can be displayed. Each lock icon defines the type of lock
that is or is not on the specific file or directory. The appearance of the lock icon indicates the current
lock status according to the following table.
![]() |
The item is unlocked. You can create a lock on the file or directory by clicking the item's lock icon. |
![]() |
The item is locked but you can unlock it by clicking on the icon (green lock). |
![]() |
The item is locked and you do not have permission to unlock it (red lock). |
| If you see no icon, you do not have the correct permissions to know if the file is locked, i.e. you only have permission to "read" or view the item in question. |