Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
organisationcloud/filelocking [2020_06_11 21:11] – steven | organisationcloud:filelocking [2024_03_14 18:38] – [3 Windows Cloud Explorer explicit locking] steven | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | # Multi User File Locking | + | # File Locking |
- | #### Last updated on June 11, 2020 | + | |
- | The Enterprise File Fabric provides federated locking services across all mapped storage providers, even if those storage providers don’t support locking themselves. | + | #### Last updated on Sept 15, 2023 |
- | Appertains to: | + | Nasuni Access Anywhere provides federated locking services across all mapped storage providers, even if those storage providers don’t support locking themselves. |
- | + | ||
- | * SaaS hosted Service | + | |
- | * IaaS Use | + | |
- | * Enterprise on-premises use | + | |
## Overview | ## Overview | ||
- | A critical feature of shared file systems, file locking is a protection mechanism that prevents two users from editing the same file at the same time. Within | + | A critical feature of shared file systems, file locking is a protection mechanism that prevents two users from editing the same file at the same time. Within |
+ | |||
+ | * If a user opens the file through the Mac or Windows Cloud Drive, the file opens for read access in the associated editor (for example, Microsoft Word in the case of a Word document). When the user makes a change and attempts to save the file, they will be prompted to save it under a different name. // | ||
+ | // | ||
+ | |||
+ | * If a user tries to open a locked file with Cloud Edit, the file will not be opened on the desktop. Instead, it displays in one of Access Anywhere’s online viewing services, such as the Microsoft online viewer for Office documents. | ||
- | ## Implicit | + | * Multiple users can simultaneously co-author documents, presentations |
- | The File Fabric uses implicit | + | ## Automatic |
- | Users can also explicitly | + | Access Anywhere supports automatic and manual locking. When a file is opened through a desktop application or drive, a lock is usually automatically initiated. The lock is then released when a file is closed. |
+ | |||
+ | Users can also manually | ||
## Lock Permissions | ## Lock Permissions | ||
- | Users can only unlock files they have locked. The Organization Administrator and users with Admin role can remove any lock. | + | Users can only unlock files they have locked. The Organization Administrator and users with the Admin role can remove any lock. |
+ | |||
+ | <WRAP center round important 100%> | ||
+ | Locks are not enforced for the org. admin or members with the Admin role when they open a file that is already locked by any user. | ||
+ | </ | ||
The same users can lock and unlock the same file through different applications or even computers. Note that a user can also open the same file for editing on different computers. | The same users can lock and unlock the same file through different applications or even computers. Note that a user can also open the same file for editing on different computers. | ||
- | Locks do not expire automatically. Manual | + | Starting with version 2106.07, locks are created with a 24-hour lifespan and, unless they have been extended, expire automatically after 24 hours. |
Locking a file will also lock all versions. | Locking a file will also lock all versions. | ||
- | |||
## Identifying Locked Files | ## Identifying Locked Files | ||
- | Locked | + | Single-user locked |
- | ## Provider Locks | + | {{ : |
- | File locking | + | <WRAP center round info 100%> |
+ | When a user tries to open a file for editing and the file is already locked by another user, the file will be opened for read-only | ||
- | When a user attempts to upload, update or lock a file through the File Fabric a check is made for a lock in CIFS. If the file is locked in CIFS an error is returned that document is locked. | + | </ |
- | When an office application (Microsoft Office, OpenOffice or LibreOffice) opens a document through a File Fabric cloud drive a lock file is created. This file is detected and File Fabric automatically creates the same lock file in the CIFS filesystem. Office applications that are accessing CIFS outside of the File Fabric will then know that the file is locked. | + | ## Provider |
- | <WRAP center round important 80%> | + | File locking is supported with all mapped storage providers. In general direct access to the storage outside of Access Anywhere circumvents the lock. Locks for Microsoft 365, OpenOffice, and LibreOffice are, however, synchronized with SMB filesystems. |
- | Note that implicit | + | |
+ | When a user attempts to upload, update or lock a file through Access Anywhere, a check is made for a lock in SMB. If the file is locked in SMB, an error is returned that the document is locked. | ||
+ | |||
+ | When an office application (Microsoft Office, OpenOffice, or LibreOffice) opens a document through an Access Anywhere cloud drive, a lock file is created. This file is detected, and Access Anywhere automatically creates the same lock file in the SMB filesystem. Office applications that are accessing SMB outside of Access Anywhere will then know that the file is locked. | ||
+ | |||
+ | <WRAP center round info 100%> | ||
+ | Automatic | ||
</ | </ | ||
+ | For more information see [[: | ||
## Troubleshooting | ## Troubleshooting | ||
- | If a file remains locked it can be because: | + | If a file remains locked, it can be because: |
- | * A User explicitly locks a file and forgets to unlock it. | + | * A user explicitly locks a file and forgets to unlock it. |
* If a file is locked automatically using a desktop app such as Microsoft Word and the App crashes the file then remains locked until explicitly unlocked. | * If a file is locked automatically using a desktop app such as Microsoft Word and the App crashes the file then remains locked until explicitly unlocked. | ||
- | Also note an Administrator can unlock files (in addition to the user who owns the lock). | + | Also, note an Administrator can unlock files (in addition to the user who owns the lock) |
+ | . | ||
## Applications | ## Applications | ||
+ | |||
### 1 Cloud File Manager (web) | ### 1 Cloud File Manager (web) | ||
Line 63: | Line 77: | ||
{{ : | {{ : | ||
- | Files can be locked and unlocked from the web file managers on right click. If a file has a lock icon it is locked. Display the info panel to see who has locked the file. | + | Files can be locked and unlocked from the web file managers on right-click. If a file has a lock icon, it is locked. Display the info panel to see who has locked the file. |
- | ### 2 Windows | + | ### 2 Windows |
{{ :/ | {{ :/ | ||
In the Windows dedicated explorer if you double click on a file to edit then you will be prompted to lock the file prior to it being opened. | In the Windows dedicated explorer if you double click on a file to edit then you will be prompted to lock the file prior to it being opened. | ||
- | + | ### 3 Windows | |
- | ### 3 Windows | + | |
{{ :/ | {{ :/ | ||
- | Locking / unlocking | + | Locking / unlocking of files from the Windows explorer can also be done explicitly on right click |
- | Files can also be easily locked / unlocked on open/save using the SME OpenOffice and Microsoft Office toolbar plug-in' | + | Files can also be easily locked/ |
- | ### 4 Windows Drive file locking | + | ### 4 Windows |
- | {{ :/ | + | {{ / |
+ | Locking from the Windows Virtual drive or WebDAV drive can be achieved explicitly from a right-click file action. | ||
- | Locking | + | Also if a Microsoft office or LibreOffice file is double-clicked and opened |
- | Also if a Microsoft office or LibreOffice file is double clicked | + | RTF files and Autodesk DWG files will also be auto-locked. |
- | |||
- | ### 5 Mac Drive Locking | ||
- | |||
- | {{ :/ | ||
- | |||
- | The Mac Drive also features explicit file locking and unlocking. Locked files can be identified on the drive by the lock icon against the file. | ||
- | |||
- | As with the Windows Drive if office files are launched directly from Mac Finder then they are auto-locked and auto-unlocked on exit. | ||
### 5 Cloud Edit | ### 5 Cloud Edit | ||
Line 101: | Line 107: | ||
The menu option to open Cloud Edit will not be available if the file is currently locked. | The menu option to open Cloud Edit will not be available if the file is currently locked. | ||
- | Applications launched from [[cloudedit]] on Windows lock files. The lock is released when the file is first saved. (Available with Windows since 12.3.23). | + | Applications launched from [[//cloudedit]] on Windows lock files. The lock is released when the file is first saved. (Available with Windows since 12.3.23). |
- | + | ### 6 Microsoft | |
- | ### 6 Microsoft | + | |
- | + | ||
- | The Office Online editors, Word, Excel and PowerPoint lock files on open. When the edit (the webpage) is closed the file is updated and lock is released. This may take several minutes. | + | |
- | + | ||
- | If a file is opened via Team Edit all participants can collaboratively edit the file. | + | |
- | ### 7 Zoho Office | + | Uses can create and edit Word documents, Excel spreadsheets, |
- | Zoho editors lock files on open. The file will be unlocked on Save. | + | In single-user mode, the edited |
- | If a file is opened via Team Edit all participants | + | In co-authoring mode, a collaborative lock is created allowing other users to join the file editing session. During a co-authoring session, |
+ | For more information, | ||