AnsweredAssumed Answered

JLAN SMB/CIFS seems to ignore read-only file permissions

Question asked by fjelmer on Sep 27, 2016
Latest reply on Sep 27, 2016 by afaust

In our SMB/CIFS server implementation based on JLAN we want to make all files read-only. Thus, we set the read-only flag in the org.alfresco.jlan.server.filesys.FileInfo object. But it looks like that this is ignored.


Also the little example in the JLAN distribution jlanConfig.xml doesn't work. That is, a file with read-only permissions is presented by the SMB/CIFS server of the example as a writable file. I've looked into the source code of class org.alfresco.jlan.smb.server.disk.JavaFileDiskDriver. Line 104 and 115 in method buildFileInformation() reveal that the read-only flag of object is transferred to the FileInfo object.