Hi everyone,
I am using alfresco community 5.2 and windows 10. My requirement is to save document directly in alfresco by doing Save As from any windows application and rename it on the basis of certain criteria. To satisfy this, I have create a rule to execute a script that will rename the document when it is created in folder. And also enabled CIFS in alfresco and mapped it as network drive. But when I try to save my document to that folder it giving error "You don’t have permission to modify files in this network location.Contact the administrator per permission to make these changes."
To debug my problem I tried by uploading the document directly from alfresco share and It is getting renamed successfully.
I also tried by disabling rule on the folder then saved the document from windows and it is getting saved in alfresco.
And again if I enable my rule, it is giving the same permission error.
I have attached screenshot of my problem and the test script created by me just to test rename.
It is appreciable if anyone would help me to solve this problem.
Solved! Go to Solution.
Combining name changing rules with CIFS is a very bad idea. When using CIFS, the client will verify the existence of the file after uploading, and since you are renaming it, it cannot find it. This is likely to generate errors, potentially the one you are seeing.
Also be aware that Alfresco will be removing support for CIFS / SMB in one of the next versions, and WIndows 10 is about to receive an update that will disable the SMBv1 protocol on which the CIFS / SMB feature of Alfresco relies, so CIFS will no longer be supported.
Combining name changing rules with CIFS is a very bad idea. When using CIFS, the client will verify the existence of the file after uploading, and since you are renaming it, it cannot find it. This is likely to generate errors, potentially the one you are seeing.
Also be aware that Alfresco will be removing support for CIFS / SMB in one of the next versions, and WIndows 10 is about to receive an update that will disable the SMBv1 protocol on which the CIFS / SMB feature of Alfresco relies, so CIFS will no longer be supported.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.