The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backup Permisions

Discussion in 'General Discussion' started by SigilStudios, Jan 3, 2004.

  1. SigilStudios

    SigilStudios Member

    Joined:
    Apr 7, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I just tar gziped my entire /cpbackups/daily directory into sites.tgz and mv'ed it to the root of a website to get with an ftp client.

    It doesnt show up in the client but does in shell. I attempted to get it via http and get...

    "Forbidden
    You don't have permission to access /sites.tgz on this server."

    I chmodded it 777 and ran chattr -everything I could think of and still do not have permision to the file...


    ... help! :)


    Thanks.
     
  2. SigilStudios

    SigilStudios Member

    Joined:
    Apr 7, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Just in case it will help here is what is looks like with an ls command.

    ls -al sites.tgz
    -rwxrwxrwx 1 1078 1078 11720417823 Jan 2 17:57 sites.tgz*
     
  3. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    chown siteusername:siteusername sites.tgz

    You probably moved it as root so you can't see it logged in to FTP as the site user.
     
  4. SigilStudios

    SigilStudios Member

    Joined:
    Apr 7, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Sorry, forgot to mention that I chown chgrp'ed it too. :)

    Any other ideas?
     
  5. RawServe-saleem

    Joined:
    Apr 14, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Isn't there a file size limit so that any file over a certain size won't show up? I seem to recall this from past experience.
     
  6. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Does that user account have unlimited space?

    Try chmoding it to 644 and see if it makes a difference.

    I've read something before about file size limits too, but not sure what it was that I read.
     
  7. SigilStudios

    SigilStudios Member

    Joined:
    Apr 7, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    644 didnt work.

    I also copied to /user/local/apache/htdocs and attempted to get it with a web browser... forbiden.
     
  8. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I'm not certain, but it sounds like a size problem. I'd just download it with a secure FTP program, like SecureFX.

    I use SecureFX to connect to my server for uploading or downloading daily.
     
Loading...

Share This Page