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.

Should my files be visible

Discussion in 'General Discussion' started by suzycream, Nov 15, 2012.

  1. suzycream

    suzycream Registered

    Joined:
    Nov 15, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    cpanel 11.34.0 (build 9)

    Please excuse me for being very new to cpanel (well any hosting things)

    If I have a folder in public_html named for example folder, and in that folder I have a number
    of files with various extensions including php, txt, dat etc...

    If I set the permissions to any of these to only user, read and write. Groups and World are unticked
    as are all execute fields.

    Should those files be visible if navigated to via a browser www.site.com/folder/file.txt?

    Because they are and I'm rather worried about it, I checked once when I first got host
    and the page just said I never had permission.

    I'd appreciate any advice a more experienced person might be so kind as to offer.

    Thank you for reading.

    (edit)
    the file permissions are set to 600
    (edit2)
    I have now tried changing permission also via ftp, still no luck
     
    #1 suzycream, Nov 15, 2012
    Last edited: Nov 15, 2012
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you're using this directory to store files, place an index.html in it. For example open your favorite text editor, create new file, named, index.html and place it in this directory. Or you might like to check the docs on this for something a bit more advanced:
    Index Manager - cPanel Documentation
     
Loading...

Share This Page