@adnankamal9 if not explicitly defined root acces, all is done as user. In this case user is owner, run this under user. Simply use this code in custom action in Profilematic ..