Well, the exact flags which say "full control" differ from OS to OS. It's possible that you may need some special flags in newer OSs which madSecurity might not know about. In any case, I'd suggest that you double check if setting the permissions changes anything. It should be easy for you to check by looking at the security tab before and after calling madSecurity. E.g. try remove the permissions you need, then run the madSecurity code and see if anything changes. If not, maybe you need to enable some privileges to make it work. If yes, but RenameFile/CopyFile etc still fail, then maybe the flags added by madSecurity are not enough and you may need to add more flags.