LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > Permissions on PHP file uploads are a little weird.

Reply
 
Thread Tools Display Modes
  #21  
Old 02-26-2008, 01:50 PM
brettdavidsonnz brettdavidsonnz is offline
Member
 
Join Date: Nov 2007
Location: New Zealand
Posts: 27
On the previous note, since we are running in suexec mode, suexec will not permit me to run the id command. Or any of it's variants.
Reply With Quote
  #22  
Old 02-26-2008, 01:51 PM
brettdavidsonnz brettdavidsonnz is offline
Member
 
Join Date: Nov 2007
Location: New Zealand
Posts: 27
For testing:

The page index.html is the forms page for file uploads. Uploads go in docroot/uploads dir.
The page index.php writes a file using fwrite.
Reply With Quote
  #23  
Old 02-26-2008, 02:04 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
Originally Posted by brettdavidsonnz View Post
On the previous note, since we are running in suexec mode, suexec will not permit me to run the id command. Or any of it's variants.
Maybe related to PHP safe mode, need to turn off safe mode from plesk. It is overridden in the vhost configuration.
Reply With Quote
  #24  
Old 02-26-2008, 02:08 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
Originally Posted by brettdavidsonnz View Post
No. Web console was working this morning.

Since you've been on the system, I can no longer access the server configuration pages.
Seems someone execute command like
Code:
chown -R root /usr/local/lsws
it breaks things.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:17 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.