also by gcc you can use code it and run the gcc in shell I like this one: setfacl -m u:wwwrun:rw the path that you would like for permissions you can set it for the folders you have then run this compiler it will make an executable file you can give a name to them by -o 'r' and 'w' are for read and write also you can have 'x' for execute permission now you can use this executable file on any new computer just run it and it will make permissions I don't know in your Os you have wwwrun or not I have it in Suse *wwwrun is used for doing things permission-wise but Apache doesn't need to "login" with it. Again, this keeps it safe from attackers.* * * * *