Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 12-13-2005, 01:54 PM
jcbuie jcbuie is offline
Hatchling Croc
 
Join Date: Dec 2005
Posts: 4
Default php scripts

I'm getting ready to move my site to HG, and will be installing Gallery. A question I have is whether php scripts on HG servers are executed as the user (ie, me) or as some other user?

Gallery requires several directories to have 777 permissions, and I'd prefer to leave them as 755. On my old host, I had to use the suggested permissions on my album directories (777) and eventually found some eggdrop/irclordz kits in my directories. So I'm reluctant to go down that path again.

Thanks in advance,

john
Reply With Quote
  #2  
Old 12-13-2005, 02:43 PM
PFunk PFunk is offline
Hatchling Croc
 
Join Date: Jul 2004
Posts: 42
Default Re: php scripts

On newly created albums/items in Gallery2, the owner is going to be nobody(99). I HIGHLY recommend moving the data folder below public_html and setting the permissions to 777.
Reply With Quote
  #3  
Old 12-13-2005, 02:52 PM
jcbuie jcbuie is offline
Hatchling Croc
 
Join Date: Dec 2005
Posts: 4
Default Re: php scripts

Thanks...

The gallery is actually v1.4, so I wasn't planning on moving to v2 quite yet. But as I'm switching hosts, it might be a good time to move to a fresh install and go ahead and upgrade.

I'm just really twitchy about the permissions thing... I'm a unix admin in my day job, and we get beat up all the time about world-writeable files.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 09:09 PM.