for questions regarding permissions of different user groups in wordpress

learn more… | top users | synonyms

1
vote
1answer
8k views

Forbidden 403 error, permission to access, unable to read htaccess

Recently clean-installed (with exception of themes and content/upload folders) an old wordpress to the latest Wordpress 4.2.2. I continue to get this error below whenever I load files such as ...
2
votes
3answers
4k views

Why does One Click Update fail on localhost using FTP with 777 permissions on site files?

I can successfully upload/remove media, add/remove plugins and edit theme files within admin CP. The one thing I can not do in admin CP is a normal one click update from WordPress 3.7.1 to 3.8. Ideas? ...
1
vote
1answer
458 views

Which WordPress scripts need to be executable for a fresh installation?

For security reasons I need to block access to scripts that will not be executed on a fresh WordPress installation. Example: /index.php --> needs to be executable /wp-includes/cache.php --> should ...
3
votes
4answers
11k views

Can't install new plugins because of the error “Could not create directory”

A faculty member is having difficulties with a instructional wordpress install. Fixing individual permission problems has been hit and miss, and have become a perennial pain, so I'll ask here. What ...
0
votes
1answer
25 views

Moving Media Library

I downloaded all files from wp-content/uploads and copied to new Wordpres instance on localhost (Windows IIS Express also on MacOS with MAMP). Unfortunately in both cases I don't see my files in Media ...
0
votes
3answers
1k views

Expanding the allowed HTML tags in comments?

I have no problem doing this in a comment, as an administrator: <b>bold test</b> <i>italics test</i> <u>underline test</u> <font color="#ff9900"> color ...
1
vote
1answer
1k views

The uploaded file exceeds the upload_max_filesize directive in php.ini

I'm trying to upload a XML file through Wordpress Importer It shows this error, no matter what the size of the file is. Even 10kb file throws up this error. My php.ini settings were set to 100MB, ...
0
votes
2answers
17 views

What user/group does Wordpress belong to in terms of file permissions?

When I check the file permission on a newly, locally installed Wordpress site (i.e. downloaded from wordpress.org/download) the owner is ll782 (my username) and the group-owner is admin. Wordpress ...
0
votes
1answer
30 views

wordpress theme install failing

I am trying to install wordpress theme on my site, but is failing with message Could not copy file. catch-responsive/404.php Folder permissions are as - ftp user is owner of the whole wordpress ...
0
votes
1answer
51 views

Debug errors for “Destination directory for file streaming does not exist or is not writable”

I'm system administrator, and quite befuddled as I find way to make a debug to know why error message you receive one of my users when trying to update their plugins. Server Apache 2.4 PHP 5.5.32 ...
0
votes
1answer
14 views

Why can I upload files but need FTP login for plugins

I know this is probably a file permission issue, but I can't figure out why it's happening. (I'm more trying to understand what's going on rather than looking for a quick fix.) Why would I be able to ...
0
votes
1answer
3k views

Prompted for FTP details even with FS_DIRECT set to true

I am running WordPress 4.1 Multisite on CentOS with NGINX. I have set define('FS_METHOD','direct'); in wp-config.php but am still getting prompted for FTP credentials when trying to install a plugin. ...
0
votes
1answer
27 views

Centos 7.2 wordpress on going to /admin shows Forbidden You don't have permission to access /wordpress/wp-admin/ on this server

I have Centos 7.2 on our production server. When I try to go to admin on http://patrickheide.com/wordpress/admin or http://patrickheide.com/wordpress/wp-admin It shows the error "Forbidden ...
8
votes
5answers
12k views

What are the recommended database permissions for WordPress?

I just got WP running on my own server. I am not trying to lock things down more. What permissions should the db user have to my WP db?
23
votes
4answers
23k views

MySQL Database User: Which Privileges are needed?

The short installation instruction for WordPress ("5 Minutes") state that: Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and ...
1
vote
1answer
104 views

Wordpress installation permission errors

I'm getting "Download failed. Failed to write request to temporary file." when I try to download plugins, and the plugins (that were working) are now unable to write what they need to (namely a ...
0
votes
1answer
1k views

Permissions to wp-content folder in Windows Server 2012

I've made some tests to solve this problem: trying to update some plugins via Wordpress backend I always receive a "Unable to create folder" error. So I've initially added IIS_IUSRS with ...
0
votes
1answer
40 views

Remove Custom Capability

I have created a custom post type 'book'. All book post-type are public, so I want to remove some capabilities such as 'delete_private_books', 'read_private_books' etc. How can I achieve this since ...
0
votes
1answer
27 views

You do not have sufficient permissions to access this page on a submenu

I'm writing my first plugin for WordPress and am running into a permission issue when trying to pass a parameter to a page. I've added a submenu page to process a delete for a category from the ...
0
votes
1answer
56 views

WordPress 4.4.2 Update not working

I would like to use Auto Update feature to update wordpress. I see this question was asked 5 years ago I would prefer doing the upgrade using Automatic update instead of manual process and fix what's ...
7
votes
2answers
2k views

Update post counts (published, draft, unattached) in admin interface

I am working on a multi-user WordPress setup and have made it so a particular type of user can only see and interact with posts, images, pages etc that they have authored. The code to make this happen ...
0
votes
0answers
11 views

Multisite - make an admin network page accessible by any user in the network

I want to programatically create a new blog for a newly registered user and I have an issue with permissions. For the wpmu_create_blog function to work properly, some files must be included and when ...
0
votes
1answer
33 views

Allow authors to post only in categories they create in WordPress

I'm looking for a way to allow users with an assigned WordPress role (in my case, author) to create new categories and then automatically be restricted to only posting in those categories or the ...
4
votes
1answer
37 views

What's the difference between the permissions “edit_published_posts” and “edit_posts”

What's the difference between the permissions "edit_published_posts" and "edit_posts"? It's not clear on the wordpress manual.
0
votes
0answers
15 views

Wordpress cannot upload files to server after recompiling PHP

Problem: PHP interferes with Wordpress ability to use write permissions on folders after recompiling PHP. This problem is so vast, yet no answer exists. Here is what does not work: Changing ...
-1
votes
1answer
365 views

How to make pages slug have priority over any category

I use WordPress. I need to show page instead of category when they have same slug. I have category called "Acne" with the slug "Acne" page and the category have the same slug. When I write ...
1
vote
1answer
27 views

Saving file to disk receiving fopen error

I have a requirement to save a json file to disk. I've got as far a the below php. However i get the following error. fopen(/wp-content/content/uploads/artworks.js): failed to open stream: No ...
0
votes
1answer
172 views

How do I fix “You are not allowed to edit this item.” for Admins on existing posts?

I'm doing some work for a new client (non-tech, their former tech person left). Their version of Wordpress is 4.3.2. I have an admin account and I'm unable to edit existing posts. I can create new ...
0
votes
1answer
30 views

What is the “user account” for WordPress’ file permissions?

I have a wordpress install that I would like to tighten up the security on. I am reading the wordpress help page on hardening wordpress ...
4
votes
1answer
3k views

Export data as CSV in back end with proper HTTP headers

I wrote a plugin that displays all products in a woocommerce store in admin settings option, now I want to add a link to download the products as CSV file. The problem is, when I click the link I get ...
0
votes
0answers
14 views

Editor user role dashboard permission issues after standalone site has been integrated into multisite

I recently integrated a standalone Wordpress site into a multisite/network instance. When one logs on with a "Editor" user role level to the newly integrated subsite the following message is ...
1
vote
1answer
60 views

WP can't create new directory

Edit2: I'm renaming the question from "WP didn't add theme automatically" to "WP can't create new directory" because I found out that the problem is a little bit more complex. The same error is going ...
0
votes
0answers
14 views

Show authors own posts AND all other authors published posts in dashboard

In the Backend Posts section I'm looking to show only the logged in authors posts and all other published posts. e.g. Author 1 has 3 drafts and 1 published post. Author 2 has 4 drafts and 1 published ...
0
votes
1answer
1k views

wordpress upload permission on nginx & ubuntu

I have a problem with wordpress upload folder permission on nginx/ubuntu VPS. keep getting the error: “asr.jpg” has failed to upload due to an error Unable to create directory uploads/2014/02. ...
0
votes
2answers
56 views

How to redirect users without permission to view content to a custom page?

I want users who don't have permission to view content to be redirected to a page when they are presented with the default "Nothing Found" page. I've already redirected 404s but this is not exactly a ...
0
votes
1answer
52 views

Force “submit for review” on update?

I'm trying to force all content to be submitted for review. That means that if a user updates an already published page, that the update would be pending until someone else approves it. I don't see ...
0
votes
3answers
47 views

SSH vs Wordpress

To modify files via SSH I need to have the files owned by ubuntu:www-data. But for wordpress to be able to install or update plugins I need to have the files owned by www-data:www-data. Any way around ...
0
votes
0answers
11 views

Woocommerce Dealer User Role

Woocommerce documentation mentions a "shop manager" role which I do not see in v2.4.10. Does the "dealer" role have same permissions as "shop manager"?
0
votes
0answers
33 views

Image uploads but is blank in library (question mark thumbnail)

When I try to upload an image using the standard WordPress backend functionality, it uploads but shows up as a thumbnail with a question mark. Upon clicking on the thumbnail, I can see that WordPress ...
0
votes
0answers
57 views

Avoid 'uploads' 777 permissions: Potential threat or clean solution?

Recently changed hosting of a website and found the upload directory of WordPress wasn't "available". I have been reading that setting folder permissions to 777 would allow everything to work fine, ...
0
votes
1answer
35 views

Plugins & backup not working correctly on new Digital Ocean server

So I just fired up a new Digital Ocean droplet running Ubuntu 15.10x64 and I'm setting up a Wordpress environment. I am setting it up from scratch without a Wordpress image. I followed a lot of the ...
12
votes
4answers
9k views

How to to secure WordPress file and folder permissions

I've read articles about protecting wp-config.php using .htaccess as well as setting the correct file permissions but I want it all in one place. What should my .htaccess file look like and what ...
0
votes
2answers
46 views

You need to login with a user that has edit posts capacity?

I have a network blog and after the user has created a site they are getting an error when trying to save their post: You need to login with a user that has edit posts capacity Shouldn't they ...
0
votes
1answer
38 views

Auto-update failing with “hardened” permissions

I've attempted to set up my wordpress install as recommended in the Codex's "Hardening WordPress" article. That is: All files are 644, all folders are 755 Everything owned by the user account ...
16
votes
3answers
32k views

Allow member to have access to custom post type only. Permission to only edit their own posts

OK I'm looking for the best way to attack this. I'm very comfortable with PHP and making custom post types with custom meta fields in WordPress. Here is what I'm looking at doing: User registers ...
0
votes
1answer
506 views

Auto-Upgrade to 4.2.2 fails because theme functions.php is included instead of wp-includes/functions.php

I'm trying to upgrade WordPress to the latest 4.2.2. On the screen, I'm seeing: Downloading update from https://downloads.wordpress.org/release/wordpress-4.2.2-no-content.zip… Unpacking the update… ...
4
votes
2answers
8k views

How to stop wordpress from changing default .htaccess permissions to 444

I installed my website using an installer - fantastico for a quick install. Just a few days ago, I started getting a weird error in w3tc plugin and it would ask me to update via ftp as you can see ...
1
vote
3answers
102 views

Updating plugins asks for FTP information, why? (this is a new one)

First off, this has nothing to do with permissions, I already checked that. So please don't mark this as a duplicate. Any time I try to update a plugin, I get this dialog: I went overboard and ...
0
votes
0answers
24 views

How to get permissions to read the post

I have a problem to make this kind of functionality within Wordpress. Three equal user groups: A, B and C. I have a list of all posts with different permission assigned to read them: posts open to ...
0
votes
1answer
114 views

User permissions to upload images

I added TinyMCE editor to fronend page via wp_editor() function. I am trying to give user ability to upload images via "Add Media" button in that editor. Which permissions should I give to user for ...