File Permission

Discussion in 'Site & Server Administration' started by sameera, Sep 22, 2008.

  1. #1
    Guys i moved a full backup from a cpanel server to a directadmin using
    wget -c ftp

    and extracted it in new server using tar -xvzf command

    But now can't modify or delete the files from FTP. Says permission denied.

    Is there a command from SSH to correct all permissions to work with my new server?
     
    sameera, Sep 22, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Try this:

    CD To that FTP directory with root SSH.
    stat FOLDER
    Code (markup):
    If the owner and/or group is root, try this:
    chown USER:USER -R FOLDER
    Code (markup):
    Replace FOLDER and USER with their respective values.

    Hope that helps,

    Jay
     
    jayshah, Sep 22, 2008 IP
    st1905 likes this.
  3. sameera

    sameera Member

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    Thanks bro! its works :)
     
    sameera, Sep 25, 2008 IP