I am having a problem with folders/files that I create by uploading a tar.gz and extracting onto my site. I love the fact that it is SOOOO much quicker to do it this way, rather than extracting the files on my pc, and uploading them to my site.
but.. when I go to delete anything created by the tar.gz.. I run into all kinds of problems because of permissions. Evidently, the extraction of these files from the tar.gz creates a bunch of files and folders that don't have write permission for the owner, and when I go to delete something, it won't let me.
are the permissions assigned determined by the tar.gz file? or by the server extracting the file?
I'm not sure who to go to for this problem, the creator of the tar.gz file, or my host. I've tried to find information on how this is determined, and I must not be searching for the "right terminology", because I can't find an explanation of how this works.
can someone either explain how this works or point me to a document that will explain? thanks.
the file permissions are usually preserved from the original files that were used to create the archive. you could always do a 'chmod -R o+w' after extracting the files. i think you can also use umask to set create permissions.