homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

how are permissions determined when extracting tar.gz on your website?

5+ Year Member

Msg#: 3677272 posted 4:26 am on Jun 18, 2008 (gmt 0)

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.



WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 3677272 posted 5:46 am on Jun 18, 2008 (gmt 0)

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.


5+ Year Member

Msg#: 3677272 posted 7:37 am on Jun 18, 2008 (gmt 0)

thanks for the quick reply. I appreciate it.

I will ask FCKEditor about the tar.gz file.

and.. I am on a shared host. cannot do the chmod.. but I am going to request shell access. It is really limiting not to have it.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved