hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Chown and nobody problem
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Chown and nobody problem

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-01-2007, 01:25 AM
Chikita Chikita is offline
Junior Guru Wannabe
 
Join Date: Apr 2006
Posts: 80

Chown and nobody problem


hi,

When ever my users upload something it get automaticaly nobody ownership. ( 99 )

any way to fix it?

Reply With Quote


Sponsored Links
  #2  
Old 03-01-2007, 01:44 AM
Steven Steven is offline
I like ice cream
 
Join Date: Mar 2003
Location: California USA
Posts: 11,552
This is a side effect of mod_php. You need to use phpsuexec.

__________________
Steven Ciaburri | Proactive Linux Server Management - Rack911.com | 1.855.RACK911
System Administration Extraordinaire

Managed Dedicated Servers, Linux Server Management, Disaster Recovery, Server Security Audits

Reply With Quote
  #3  
Old 03-01-2007, 02:09 AM
tsj5j tsj5j is offline
WebHosting Master
 
Join Date: Dec 2006
Posts: 4,075
Are you referring to PHP uploads, FTP uploads, or...?

Reply With Quote
Sponsored Links
  #4  
Old 03-01-2007, 03:17 AM
Chikita Chikita is offline
Junior Guru Wannabe
 
Join Date: Apr 2006
Posts: 80
Quote:
Originally Posted by tsj5j
Are you referring to PHP uploads, FTP uploads, or...?
well when my members try to upload mp3s music the mp3's are all have 99 ownership.

its ttp upload.

Reply With Quote
  #5  
Old 03-01-2007, 03:26 AM
Chikita Chikita is offline
Junior Guru Wannabe
 
Join Date: Apr 2006
Posts: 80
Quote:
Originally Posted by Steven
This is a side effect of mod_php. You need to use phpsuexec.

i tried tp update apache from whm .

and added the phpsuexec then all my web sites gived 500 server error.

Reply With Quote
  #6  
Old 03-01-2007, 04:00 AM
zsuatt zsuatt is offline
Junior Guru
 
Join Date: Nov 2005
Location: Denmark
Posts: 188
make sure all the scripts have right permissions, when you use phpsuexec and have too wide permissions (0775) then it will give you an internal server error.
Change the scripts to 0600 and see if the error still occurs.

__________________
Systems Developer/Programmer


Reply With Quote
  #7  
Old 03-01-2007, 04:17 AM
cybersavvy cybersavvy is offline
Junior Guru Wannabe
 
Join Date: Dec 2006
Posts: 66
You cannot manipulate the php.ini settings with .htaccess when running php as cgi/phpsuexec.
If you are using .htaccess with php_ value_entries within it, you will receive an internal server 500 error when attempting to access the scripts.
This is because php is no longer running as an apache module and apache will not know how to handle those directives any longer.
Check that the php script you are attempting to execute has MAXIMUM permissions of 755. (644 will work just fine normally.)
If your script has permission of 777, then it will generate a script error 500 message.

Check that the directory permissions that the script resides within is set to a MAXIMUM of 755. This also includes directories that the script would need to have access to.

__________________
Reverse engineering Rocks

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Outbound Spam Causing Sleepless Nights? Blog 2013-05-13 09:52:21
How To Deliver Products Customers Will Pay For with David Koston - HostingCon 2012 Web Hosting News 2012-07-18 10:46:16
HostingCon Preview: Q&A with David Koston of Fortuity LLC Web Hosting News 2012-07-10 12:54:20
eleven Survey Lists Spam as Greatest Email Security Threat in Ten Years Web Hosting News 2011-12-02 21:50:09
The Lesson of the Ten, with Jeff Hardy Web Hosting News 2011-08-08 22:12:01


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?