mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge 3.1 to HEAD:
14099 Repository filesystem handles file sharing mode options on file create/open calls. ETHREEOH-1954 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -77,7 +77,7 @@ public class FileState
|
||||
|
||||
// Sharing mode
|
||||
|
||||
private int m_sharedAccess = SharingMode.READWRITE;
|
||||
private int m_sharedAccess = SharingMode.READWRITE + SharingMode.DELETE;
|
||||
|
||||
// File lock list, allocated once there are active locks on this file
|
||||
|
||||
@@ -716,6 +716,9 @@ public class FileState
|
||||
else
|
||||
str.append("Null");
|
||||
|
||||
str.append(",Shr=0x");
|
||||
str.append(Integer.toHexString(getSharedAccess()));
|
||||
|
||||
if ( isDirectory())
|
||||
{
|
||||
str.append(",Pseudo=");
|
||||
|
Reference in New Issue
Block a user