Results 1 to 4 of 4
  1. #1

    SFTP - Permission Denied?


    I just got a barebone server. Installed apache2, php5, mysql,phpmyadmin.

    I only have SSH access to the server. I wish to use CoreFTP to transfer some webpage files to /var/www folder. I can login the server using CoreFTP's SSH/SFTP and it displays all the files and directories, but I do not have the permission to write.

    My question is, how do I give myself permission to write? Here is the id of my user:

    uid=1000(charlie) gid=1000(charlie) groups=1000(charlie),4(adm),20(dialout),24(cdrom),46(plugdev),110(lpadmin),111(sambashare),112(admin)

  2. #2
    Join Date
    Oct 2002
    State of Disbelief
    Does "charlie" own /var/www?
    If not, that's why it's not working, most likely.
    CHOWN or CHGRP might help.
    Having problems, or maybe questions about WHT? Head over to the help desk!

  3. #3
    Join Date
    May 2009
    On a Speck!!!!!
    chmod 766 /var/www should help you.

  4. #4
    chmod 755 <directory > -R

    chown <directory > -R

Similar Threads

  1. [PHP]: Permission denied ?
    By abdoh2010 in forum Programming Discussion
    Replies: 5
    Last Post: 05-03-2005, 05:48 AM
  2. Permission denied?
    By WLHosting in forum Hosting Security and Technology
    Replies: 4
    Last Post: 02-16-2005, 06:43 PM
  3. Permission denied
    By xmlxp in forum Hosting Security and Technology
    Replies: 10
    Last Post: 01-10-2005, 07:01 AM
  4. FTP permission denied
    By BooBoo in forum Dedicated Server
    Replies: 2
    Last Post: 05-31-2002, 02:30 AM
  5. Permission Denied
    By WoodShedd in forum Hosting Security and Technology
    Replies: 4
    Last Post: 04-25-2002, 05:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts