I'm trying to get a security certificate for my application and the evaluators told that I need to change the permission of my application folder to not world-read/write.
I have googled the problem for days but I have not found any logical solution for it. For the example one of the proposed methods was to run "chmod(destinationfile, 0644)" but it needs root permission to run.
Is there any other way to do it programmatically? Any help is appreciated. Thanks