Announcement

Collapse
No announcement yet.

Permissions issues with Compressed Upload and Real Time Stock

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Permissions issues with Compressed Upload and Real Time Stock

    SellerDeck’s desktop ecommerce products (Catalog, Business, Business plus and Enterprise) generate files that are uploaded by FTP and used by scripts that run on the server. This presents the basic requirement that the CGI user (which executes the scripts on the server) must be able to access files owned by the FTP user (which conducts the uploads), and vice versa.
    For security purposes, SellerDeck sets permissions on its files that prevent one user from changing or deleting files owned by a different user. This is standard practice to prevent unauthorised changes being made to the site.
    Consequently SellerDeck requires hosting where the main FTP user and the CGI user are the same.
    On hosting that does not meet these requirements, the following issues may be experienced:
    1. Changing the setting for compressed upload (Web | Network Setup | FTP Options | Enable Upload Compression) will cause permissions errors on the server.

      If compressed upload is enabled, a single compressed file is uploaded by FTP. The individual files are then extracted and installed by the uncompression script, and will be owned by the CGI user. If compressed upload is disabled, files are uploaded individually by FTP and will be owned by the FTP user.
      a. If compressed upload is enabled on a site that previously did not use it, then the process will fail at the uncompression stage on the server, because the uncompression script cannot overwrite existing files that are owned by the FTP user.
      b. If compressed upload is disabled on a site that did previously use it, then the next upload will fail, because the FTP user does not have permission to overwrite files that were previously installed by the compression script.
      In either case, Purge and Refresh is also unable to operate, and help may be required from the web host or SellerDeck support to delete the existing files.

    2. If compressed upload is enabled, Publish Current Page will fail with a permissions error. Publish Current Page does not use compressed upload, even if it is enabled.

    3. If compressed upload is not enabled, then automatic stock synchronisation will fail with a permissions error. Automatic stock synchronisation runs a script on the server to update the stock levels. If compressed upload is not enabled, then the stock file is owned by the FTP user.
Working...
X