I make webiste in joomla.
Quite often i have to transfer the webiste from testing server to main server.
Initially i copied the files to new server then again i had to chnage the directory permissions of the folders and it was taking to much time. Then someone told to use
tar -P
to preserve the permissions and it made my life easier with all permission preserved.
Now the another problem which i am facing is that . There are some scripts which generate their own files and folders. now they have read and write for the owner .
But when i change the server then those scripts don't keep thier ownership to those files which they have created so i have chnage chnage 100s of file permissions again
Is there any solution to keep the ownership of those scripts on new server