Server Permissions and CHMOD

  • unl0ad
  • Born
  • Born
  • No Avatar
  • Joined: Mar 01, 2007
  • Posts: 2
  • Status: Offline

Post March 1st, 2007, 11:46 am

Ok, i have a php image uploading script

I chmod'ed the folded where the images are being uploading to 777

when a user trys to upload the Server is not allowing it, and simply wont upload the file

i have full root access to the server, how can i change the permission on the server to allow uploading to the server? thanks

-tommy
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 1st, 2007, 11:46 am

  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 1st, 2007, 5:12 pm

Are anonymous logins being used to connect to the server? Are the connections being made through the browser? What is changing directories to the incoming folder after the login is complete?
How do you know when a politician is lying? His mouth is moving.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post March 4th, 2007, 7:07 am

is the folder owned by root? (check with ls -l on the command line and execute it in the folder where your uploads folder resides, so if you wanted to upload to /var/www/html/uploads , you'd cd to /var/www/html and run ls -l
if the folder is owned by root, try changing ownership to another user which could be done by the chown command.
Image
"In a world without walls and fences, who needs Windows and Gates?"

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 64 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.