Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2006
    Location
    At Home
    Posts
    370
    Plugin Contributions
    0

    Default How do I set directories to both writable and readable?

    How do I set the following directories to writable and readable?

    /cache
    /pub
    /images
    /includes/ languages/english/html_includes
    /admin/backups
    /admin/ images/graphs
    Is 755 secure enough?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How do I set directories to both writable and readable?

    Depending on your host, you should be able to use your FTP program to set permissions. It'll be under 'Properties' or CHMOD if you right-click on the folder.

    I set all those folders to 777 prior to installation, and leave them there.

  3. #3
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: How do I set directories to both writable and readable?

    Quote Originally Posted by stevesh View Post
    I set all those folders to 777 prior to installation, and leave them there.
    I tend to do the same, and have not experienced security issues.

    Directories are normally set to 755 and FILES inside them to 644.

    If you do change the 777 to 755, then you may not be able to edit things like defined pages, etc, without changing their folder's permissions (/includes/ languages/english/html_includes) back to 777 first.

    (levels of strictness with CHMOD are partly server configured, so much depends on these configs.)

  4. #4
    Join Date
    Oct 2006
    Location
    At Home
    Posts
    370
    Plugin Contributions
    0

    Default Re: How do I set directories to both writable and readable?

    OK, so I just leave them all set to 777.

    I'm just little bit concern about the /images directory which has always been a target folder for hackers.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How do I set directories to both writable and readable?

    OK, so I just leave them all set to 777
    Is 755 secure enough?
    If you host has SUEXEC & PHPSUEXEC installed -
    Then 755 for dir's and 644 for files is the most secure.
    There is no requirement to have any above 755 under this system
    If you intend on editing the defines files set them to 755 - edit - set them back to 644.
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: How do I set directories to both writable and readable?

    Follow the guidelines in your docs directory for security settings.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. Permission set to 777 still not writable
    By flameash in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 14 Dec 2010, 01:10 AM
  2. non-writable configure file being flagged as writable
    By schwimwastaken in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 20 Jan 2010, 01:40 AM
  3. Not skipping steps 1 and 2 even tho both are set to yes in admin!
    By garethrooney in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 26 Apr 2009, 09:18 PM
  4. How and where to edite the Directories?
    By alhakeem2001 in forum Customization from the Admin
    Replies: 2
    Last Post: 2 Dec 2007, 10:34 AM
  5. UNIQUE and INDEX keys should not both be set for column `configuration_key`
    By blind1 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 25 Jun 2007, 02:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR