Who owns a php exec tar extracted file?
Posted
by Ken
on Stack Overflow
See other posts from Stack Overflow
or by Ken
Published on 2010-04-12T16:49:24Z
Indexed on
2010/04/12
16:52 UTC
Read the original article
Hit count: 331
As far as file permissions are concerned, when you use a php script to unzip a tar file, who is the "owner" user of the files created?
I'm wondering if its my ftp user because I uploaded the script file? Or does apache own the file? I know their are flags to be set to preserve the original permissions which I don't want (files where created and archived by someone else). I want my user to be the creater/owner of the files.
© Stack Overflow or respective owner