Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default Files permissions - 644 versus 444

    After many months of configuring and testing, I am just about ready to cut over to our new zen cart store. I am now going through with final security recommendation checks.

    My question is regarding folder and file permissions and 444 versus 644. I am on a Linux server.

    In the Zen Cart FAQs and forums when it's stated to set something to Read-only, it's considered 644 and Read/Write is considered 777, but there appears to be some exceptions to this.

    When I originally had my configure.php files set to 644 (thinking this was Read-only), zen cart told me they were still writable. I had to change them to 444.

    So, does that mean that all my zc files should be 444 as that is really considered Read-only on my server? Or, is 644 OK for all other files because it's write-only for the file owner/user?


    Right now I have the following permissions set:

    Both configure.php files are 444 (only way the zen cart write alert error would go away)
    All other files (including images) are 644
    All Folders are 755

    444 is read only
    read (user, group, world)

    644 is read/write
    read (user, group, world)
    write (user)

    755 is read / write / execute
    read (user, group, world)
    write (user)
    execute (user, group, world)
    Last edited by Crunch; 25 Nov 2009 at 08:28 PM.

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Files permissions - 644 versus 444

    Your current permissions setting are perfect for safe usage.

  3. #3
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default Re: Files permissions - 644 versus 444

    Thanks Rob.

 

 

Similar Threads

  1. Change permission of Includes/Configure.php from 444 to 644.
    By anticobello in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 6 Jun 2011, 04:21 AM
  2. Security: clarification Folders to 755 Files to 644
    By dharma in forum General Questions
    Replies: 2
    Last Post: 29 Jan 2008, 11:39 PM

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