View Single Post
  #4  
Old 6th January 2006, 18:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by robd
I believe that I am uploading to /home/www/web1/web
Please make sure if you're uploading to /home/www/web1/web or to a subdirectory.

Quote:
Originally Posted by robd
Code:
-bash-3.00$ ls -la images/
total 116
drwxrwxr-x   6 web1_neilnerva web1 4096 Nov 20 23:44 .
drwx-wxr-x  17 web1_neilnerva web1 4096 Dec 27 08:26 ..
drwxrwxr-x   2 web1_neilnerva web1 4096 Nov 20 23:44 M_images
-rwxrwxr-x   1 web1_neilnerva web1 1352 Nov 20 23:41 apply_f2.png
-rwxrwxr-x   1 web1_neilnerva web1 1648 Nov 20 23:41 archive_f2.png
-rwxrwxr-x   1 web1_neilnerva web1 1620 Nov 20 23:41 back_f2.png
drwxrwxr-x   2 web1_neilnerva web1 4096 Nov 20 23:44 banners
-rwxrwxr-x   1 web1_neilnerva web1  151 Nov 20 23:41 blank.png
-rwxrwxr-x   1 web1_neilnerva web1  564 Nov 20 23:41 cancel.png
-rwxrwxr-x   1 web1_neilnerva web1 1457 Nov 20 23:41 cancel_f2.png
-rwxrwxr-x   1 web1_neilnerva web1 1776 Nov 20 23:41 css_f2.png
-rwxrwxr-x   1 web1_neilnerva web1 1719 Nov 20 23:41 edit_f2.png
-rwxrwxr-x   1 web1_neilnerva web1 1150 Nov 20 23:41 favicon.ico
-rwxrwxr-x   1 web1_neilnerva web1 1744 Nov 20 23:41 html_f2.png
-rwxrwxr-x   1 web1_neilnerva web1   44 Nov 20 23:41 index.html
-rwxrwxr-x   1 web1_neilnerva web1 7200 Nov 20 23:41 joomla_logo_black.jpg
-rwxrwxr-x   1 web1_neilnerva web1  190 Nov 20 23:41 menu_divider.png
-rwxrwxr-x   1 web1_neilnerva web1 1655 Nov 20 23:41 new_f2.png
-rwxrwxr-x   1 web1_neilnerva web1 2404 Nov 20 23:41 powered_by.png
-rwxrwxr-x   1 web1_neilnerva web1 1699 Nov 20 23:41 preview_f2.png
-rwxrwxr-x   1 web1_neilnerva web1 1800 Nov 20 23:41 publish_f2.png
-rwxrwxr-x   1 web1_neilnerva web1  698 Nov 20 23:41 save.png
-rwxrwxr-x   1 web1_neilnerva web1 1822 Nov 20 23:41 save_f2.png
drwxrwxr-x   2 web1_neilnerva web1 4096 Nov 20 23:44 smilies
drwxrwxr-x   4 web1_neilnerva web1 4096 Nov 20 23:44 stories
-rwxrwxr-x   1 web1_neilnerva web1 1525 Nov 20 23:41 unarchive_f2.png
-rwxrwxr-x   1 web1_neilnerva web1 1679 Nov 20 23:41 unpublish_f2.png
-rwxrwxr-x   1 web1_neilnerva web1 1658 Nov 20 23:41 upload_f2.png
-bash-3.00$
these permissions are 755, no?
The permissions of /home/www/web1/web are 775, which means the owner web1_neilnerva and the group web1 are allowed to read (4), write (2) and execute (1); all others are only allowed to read and execute, but not to write (which includes uploads). I guess Apache is running as another user and group so you would have to make the upload directory world writable:
Code:
chmod 777 /path/to/upload_directory
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote