Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Help on Permissions

    Did Avactis make your other site's files secure, or did they just remove the warning?

  2. #2

    Default Re: Help on Permissions

    Honestly Im not sure what they did,
    I have tried to write to the config file in that folder and it doesnt write to it,
    I also tried a input code that would write to it in a submit form but it didnt do it,
    As stated they did not change any user permissions on the folder or files that I can tell using right click security, so I assume all they did was remove the coding but again I can not write to the config file for avactis.

  3. #3

    Default Re: Help on Permissions

    what file does the check i have searched a few but can not find it,

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Help on Permissions

    There's no point in removing the check or the warning. That will not make you secure, it will just let you forget that you are not secure.

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

    Default Re: Help on Permissions

    I have tried to write to the config file in that folder and it doesnt write to it,
    Not sure what you are using to do this with??

    Usually, one has FTP access and a FTP client and transfers a file to be edited to their local and makes the edits, saves and FTP's the file back to the server.

    If this is not what you are doing try it this way

  6. #6

    Default Re: Help on Permissions

    My files are not writable from the web,
    I have tried using a simple php script on my server to write to the config file and it is not writable,
    Which means this warning is not correct.
    The file can not be written too.

    I did not edit any files the installer did the initial set up thats why it had write privilages.

    Now the file doesnt have write privlages since the install is over.

    My files are secure the index is calling a false write on the files and the files CAN NOT BE WRITTEN TO.

    My site is secure, the files can not be written to so I want to remove the security check on the index,

    Where do I do this?
    I got a domain thats been sitting there for nothing since this is a error that is not verifiable.
    The error is wrong the includex configure.php file is not writable only readable I am not a beginner on this and deal with file permissions every day.

    The file permissions are set correctly on the configure.php but the index says it is writable. It is not.

    I even tried doing this on another domain with the same files ftp to my pc and re uploaded to the server it gives the same error and no permissions where changed.

    The permissions on the domain or web users is read only to the file

    server side permissions



    domains permissions




    Now these are the system permissions that I can not change

    This control my ftp permissions If I change them then I can not delte edit write over etc any files using my ftp clients.



    And these are the system permissions required by plesk to all files
    If I change either of these 2 permissions the site goes offline



    and system permissions




    So the permissions are set correctly for file security again Using a file I uploaded via ftp that does basically the same thing when called by a browser the install does by writing over the configure.php file on the server.
    This script gives me write error suchs as I can not write to file specified which means the files is secure.
    The zencart scripts are either A reading the wrong permissions or B does not read permissions right on a windows server

    This is a windows server.
    Where is the code that checks permissions located so I can remove it.
    All files are secure so I am no worring about this as it is a simple error in zens scripts.
    Not my server permissions.
    Permissions for web server and domain are set correctly

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Help on Permissions

    This sounds like a question for DrByte.

    With tens/hundreds of thousands of installations, I think it unlikely that such a visible problem would be happening on windows servers generally; there may be some quirk of your situation that is causing this.

    And I don't know where that code is any more than you do.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Help on Permissions

    Quote Originally Posted by wtwolf6 View Post
    The zencart scripts are either A reading the wrong permissions or B does not read permissions right on a windows server

    This is a windows server.
    Where is the code that checks permissions located so I can remove it.
    All files are secure so I am no worring about this as it is a simple error in zens scripts.
    Not my server permissions.
    Permissions for web server and domain are set correctly
    It must be a PHP thing on your server then.

    This is what Zen Cart does:
    PHP Code:
      if ( (file_exists(dirname($_SERVER['SCRIPT_FILENAME']) . '/includes/configure.php')) 
        && (
    is_writeable(dirname($_SERVER['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
       
    // give alert
      

    Basically, that says:
    - if the /includes/configure.php file EXISTS (file_exists())
    AND
    - if PHP sees the file as WRITABLE (is_writable())
    THEN
    - give the warning message

    If you're convinced that the message is wrong, just add an extra file to your /includes/extra_configures folder:
    - call it "bypass_config_warning.php"
    -inside it, put this one line:
    Code:
    <?php define('WARN_CONFIG_WRITEABLE', 'false'); ?>
    That'll tell Zen Cart to ignore the fact that PHP thinks it's writable and rely on you to ensure that it's safe.
    The security is then ENTIRELY UP TO YOU ... be sure to double-check permissions after any and every edit. Zen Cart will no longer give you any warnings on the issue.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Help! I need to change permissions in my folder
    By cahanck in forum Installing on a Windows Server
    Replies: 3
    Last Post: 14 Jan 2011, 08:12 PM
  2. Help!-Permissions probs after installation
    By reverse in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 17 May 2007, 08:44 PM
  3. Permissions probs after installation (Help!)
    By reverse in forum Installing on a Windows Server
    Replies: 0
    Last Post: 17 May 2007, 01:09 AM

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