Problem sending via WinSCP to Linux server

Solved
Darkterra -  
 Darkterra -
Hello, So here is my little problem. I just installed my server (Linux Ubuntu 8.04 LTS Server Edition) so I followed some simple procedures (because I don't know Unix/Linux commands yet ^^) to update the software, etc...
So my server is up to date and ready to host a site with PHP and everything else ^^ .

But when it comes to sending files to my server (for example index.html that I made myself) there is no way to send it...

Here is what it showed during the upload...

Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 3

Yet in the few procedures I followed there was: chgrp admin /var/www
to change the owner group of root to admin.

So I don't know what to do.

Thanks for your reply ^^.
Configuration: Windows XP Firefox 2.0.0.14

2 answers

  1. kiki
     
    The site must be loaded in /var/www/nom_du_site/http/
    the /var/www/nom_du_site/cgi-bin/ folder is used for the cgi

    The folder must have permissions 775 (chmod -R 775 /var/www/nom_du_site/)
    The correct rights are (chown -R webmaster:www-data /var/www/nom_du_site/)

    Attention for secure transfers: it is possible that openssl-server is not installed (as on Debian)

    Best regards,
    0
    1. Darkterra
       
      Thank you for your reply, but the problem is that I cannot create a new folder and I noticed that the file "index.html" that is already in the "www" folder works because when I type my server's IP address I can see what is inside the "index.html"

      When I want to change the permissions (in WinSCP I’m not sure if this is where I should do it) it shows me:
      Permission denied.
      Error code: 3
      Error message from server: Permission denied
      Request code: 9
      And for OpenSSH I am not under Debian, but just in case I installed it anyway.

      If you could still help me a bit please ^^.

      Ps: I’m a beginner ^^ .
      0