Hi @B_Sravan ,
AEM VERSION : 6.5.11
I tried doing as part of deployment as well.
1) For veryfirst time, I used this script in my code:
{"scripts": ["create service user sampleSysUser","set ACL on /content/sample \r\n allow jcr:read,jcr:modifyProperties,jcr:addChildNodes,rep:write,crx:replicate,j...