Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2005
    Posts
    124
    Points
    7,434
    Level
    36

    Wordpress Upload Permissions

    I can't seem to sort out what the permissions, ownership, group membership, etc. are that I need for Wordpress to be able to upload files. I've looked at their site, but when I come across things like, "If 766 doesn't work, you can try 777, which makes all files and folders readable, writable, and executable by all users, groups, and processes.", I'm not too confident in them.

    Code:
    [root@ip22 uploads]# pwd/home/blogicsi/public_html/wp-content/uploads
    [root@ip22 uploads]# ls -al
    total 12
    drwxr-sr-x 2 blogicsi blogicsi 4096 Aug  7 07:59 .
    drwxr-sr-x 6 blogicsi blogicsi 4096 Aug  7 07:31 ..
    -rw-r--r-- 1 blogicsi blogicsi   58 Aug  7 07:59 .htaccess
    "Unable to create directory wp-content/uploads/2017/08. Is its parent directory writable by the server?" is the error I get when trying to upload a plugin.

    I was trying to upload a debugging plugin to figure out why I couldn't upload to my gallery, "
    Could not write to file. Please check filesystem permissions. Filename: /chroot/home/blogicsi/blog.ics-il.com/html/wp-content/gallery/hughesnet-offer-08-07-2017", which now seems to be anything upload, not just the gallery.

  2. #2
    Join Date
    Apr 2012
    Posts
    2,133
    Points
    22,606
    Level
    65
    Hi johan_hammy

    Hmm my first thought is you should not be able to upload plugin (or other files except say PDF and picture files).

    Have you tried ftp to upload these files

    777 does give all perms, so be careful

    I will have to have a think a little more and ideally look at a test WP site

    What version of php, WP, IW-CP and distro are you using

    Many thanks

    John

  3. #3
    Join Date
    Nov 2005
    Posts
    124
    Points
    7,434
    Level
    36
    I put apache into the group that the site had (blogicsi in this case) and made the folder 775. It was good to go after that. I don't know if that's the correct way, but it's a way.

    [root@ip22 public_html]# cat /etc/redhat-release
    CentOS release 6.9 (Final)
    [root@ip22 public_html]# rpmdb -qa | grep php
    interworx-phpmyadmin-4.0.10.17-1311.iworx.noarch
    php-mysql-5.3.3-49.el6.x86_64
    php-common-5.3.3-49.el6.x86_64
    php-xmlrpc-5.3.3-49.el6.x86_64
    php-5.3.3-49.el6.x86_64
    php-mbstring-5.3.3-49.el6.x86_64
    php-iworx-5.6.30-2.rhe6x.iworx.x86_64
    php-pdo-5.3.3-49.el6.x86_64
    php-pear-1.9.4-5.el6.noarch
    suphp-0.7.2-101.iworx.x86_64
    suphp-iworx-0.7.1-108.rhe6x.iworx.x86_64
    php-devel-5.3.3-49.el6.x86_64
    php-xml-5.3.3-49.el6.x86_64
    php-pecl-memcache-3.0.5-4.el6.x86_64
    php-cli-5.3.3-49.el6.x86_64
    php-gd-5.3.3-49.el6.x86_64



    Latest Wordpress. 4.8.1?



    SimpleScripts was broken in some way, but perhaps it was related to trying to upgrade a site over three years old to a new one. Pushing a Wordpress that old sounds incredibly dangerous.

  4. #4
    Join Date
    Apr 2012
    Posts
    2,133
    Points
    22,606
    Level
    65
    Hi johan_hammy

    Many thanks, and glad you resolved issue

    Simplescripts is no longer a supported product and softaculous has taken over.

    Simplescripts themselves stopped a few years ago, but still works by using IW license, even though it's deprecated

    Many thanks

    John

  5. #5
    Join Date
    Nov 2005
    Posts
    124
    Points
    7,434
    Level
    36
    Shouldn't the deprecation be reflected in the product? I see no mention of softaculous in my install, but simple scripts is.

    Given the Interworx model, is what I did considered secure?

  6. #6
    Join Date
    Apr 2012
    Posts
    2,133
    Points
    22,606
    Level
    65
    Hi john_hammy

    Many thanks

    It was well documented about 3 years or so ago, and all new installs of IW since, was changed to show softaculous as active, and simplescripts disabled.

    You can enable softaculous from nodeworx, plugins

    I hope that helps a little

    Many thanks

    John

  7. #7
    Join Date
    Nov 2005
    Posts
    124
    Points
    7,434
    Level
    36
    I checked out plugins and made those changes.

  8. #8
    Join Date
    Jan 2017
    Posts
    3
    Points
    240
    Level
    4
    most of those issues can be resolved by going to the plug ins.

  9. #9
    Join Date
    Dec 2016
    Posts
    10
    Points
    303
    Level
    6
    Pushing a Wordpress that old sounds incredibly dangerous.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •