Questions tagged [permissions]

for questions regarding permissions of different user groups in wordpress

136 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
251 views

What permissions should i have set up for the Database User after i have Wordpress set up?

so i was reading this on php.net and read this Never connect to the database as a superuser or as the database owner. Use always customized users with very limited privileges. Before getting my ...
4
votes
2answers
216 views

Why is group ownership with rwx permissions not enough?

Running PHP 5.4 and Apache2 on Debian 7, with apache configured to use user www-data. I'm trying to figure out why Wordpress cannot modify files in its directory when it has group ownership with full ...
3
votes
3answers
38k 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 style....
2
votes
0answers
23 views

Registration and Custom Post Types - How to synchronize information?

I am building a platform where service providers can offer their services to potential customers. Therefore, I have two user roles, one "customer" who can only create an account and read; ...
2
votes
1answer
547 views

Wordpress can't find temporary folder, but folder it's looking at has correct permissions

So, I've spent a couple of hours looking around the internet to try to figure out this problem, since it seems like a dumb one that would probably be a duplicate, but apparently it isn't. I'm hosting ...
2
votes
0answers
90 views

WordPress debug.log is not updating

In my wp-config.php file: define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', true); @ini_set('display_errors',1); In my php.ini file, track errors is = Off /wp-...
2
votes
1answer
112 views

Problem in theme installing?

I am trying to install a downloaded theme in .zip format, on my Ubuntu OS when i click on upload & try to install it, it shows the error: Are you sure you want to do this? Please try again. ...
2
votes
1answer
1k views

Wordpress file permissions for editing on local Ubuntu development machine

I've seen a couple of solutions on this site that solved some permission problems, however, they seem that they create others, at least for me. My setup is a local wordpress installation on Ubuntu 14....
2
votes
0answers
75 views

Securing a multi-user permission structure

I'm currently working on a team that needs two distinct users from the same wpadmin group to be able to modify the wordpress files. Following the guide at Hardening WordPress (Codex), the following ...
2
votes
0answers
1k views

Plugin/Folder permission issues with Azure

Has anyone come across plugin issues when using Wordpress with Azure? I recently spun up a free wordpress install on azurewebsites.net, using PHP 5.4 and Wordpress 3.5. Once plugin in particualr, ...
1
vote
0answers
15 views

WordPress unable to create folders even though correct NTFS-rights are set

We are trying different NTFS-rights settings on a IIS-webserver, and we removed the Users-group from the folder containing all the sites. We then ran into the problem that a WordPress installation ...
1
vote
0answers
17 views

Fix permissions for users role

I have 4 users roles on my WordPress platform (role1, role2, role3, role4) Role 1 : administaror (full acces) Role 2 : proposal_editor (can create and publish posts, pages, templates, users...) Role ...
1
vote
1answer
28 views

Plugin updates change folder permissions

On one client WordPress site, when I update any plug-ins, all files and directories within that plug-in get their permissions automatically set to 766 - which means they aren't accessible by the ...
1
vote
0answers
518 views

WordPress php mysql errors - errcode: 13 permission denied

I'm developing a WordPress based website using the latest XAMPP release from Oct 9 2019 with Apache 2.4.41, MySQL/MariaDB 10.4.8 and php 7.3.10 using localhost on a Windows 10 machine. Since updating ...
1
vote
4answers
6k views

Wordpress and Plugins can't be updated

I have a problem - when I click on "Wordpress update", I receive this message: Downloading update from https://downloads.wordpress.org/release/wordpress-5.1-new-bundled.zip… Unpacking the update… ...
1
vote
1answer
138 views

Copying uploaded images not working in wordpress

I am trying to copy an image uploaded using Contact Form 7 to the uploads directory but this only produces an empty jpeg file with 0644 permissions even though the dev directory and the uploads ...
1
vote
0answers
224 views

How to force authors to 'submit for review'?

So currently when authors add a post they can publish it straight away. How can i change it so that all their posts need to be reviewed first? I've seen a few codes that can solve that but when it ...
1
vote
0answers
25 views

Linux Permissions and Ownership for WordPress

I installed WordPress via ftp upload to our server using my ftp user account. This account is different than the user that runs http/Apache. I am now trying to install themes and plugins and I am ...
1
vote
0answers
272 views

Invalid changeset UUID Wordpress

Login as Administrator and when I click the stopkeeper theme customization, I got Invalid changeset UUID error and redirect to page and show as Cheatin’ uh? Sorry, you are not allowed to ...
1
vote
1answer
71 views

Group ownership permissions don't allow web server to update Wordpress content

I have hardened my Wordpress settings as follows: All files/directories are owned by my user account (myUserName) and are group-owned by my web server (http) -- myUserName:http All folders have 755 ...
1
vote
0answers
328 views

No Permission to add new Page, Post or CPT with Admin role

After a server update, I got some problems on my website, running WordPress 4.9.2 I could not update WordPress version to 4.9.4, cause I was getting a message like this: Another update is ...
1
vote
0answers
32 views

Should Apache own /var/www/domain.com directory in WordPress?

In a lot of tutorials on WordPress installation I see apache:apache user:group given to the files in WordPress and the domain directory. Should it be Apache or some non-root user ?
1
vote
0answers
347 views

Rest api return all users (even without content) to all users

I'm using the REST API to return a list of all users (using Vue) on an Intranet site. I'm using this code to allow the API to return them: add_filter( 'rest_user_query', 'custom_rest_user_query' ); ...
1
vote
0answers
1k views

Allow Editor Role to Edit Media

On a multisite, I have an Editor role that is assigned to subsite1. When that user logs in to their assigned sub-site (that user is an 'editor' on that subsite) and goes to the Media page, they see ...
1
vote
1answer
185 views

What are the minimum role/permissions for freelance developer?

I'm looking to farm out some Wordpress site tweeks to an existing personal blog site. One ad requires cPanel access to the server and Admin access to the Wordpress site. Many ads don't list any ...
1
vote
0answers
94 views

How to change permissions of Wordpress and/or apache on macOS securely?

I have encountered a problem when trying to add an image to WordPress: "Unable to create directory wp-content/uploads/2017/05. Is its parent directory writable by the server?" . Thing is that I ...
1
vote
0answers
177 views

Get the 'Content Permission' roles as defined in a page

As you can see in the image, I have assigned student level 1 to a Page in WP admin. I am building a custom page.php on my own and I am trying to redirect the user back if they were not added. I try ...
1
vote
0answers
170 views

REST API: Limit Read Permissions for Default Endpoints

What is the best way to limit read access for certain endpoints? (we're assuming I already have an authentication method in place) For example, I have a custom post type 'resume', which is registered ...
1
vote
1answer
1k views

WordPress Permissions on my Local with Docker

I'm using docker and docker compose to install WordPress on my localhost and everything is working fine however i'm having problems when uploading new media and installing themes, new plugins e.t.c. ...
1
vote
0answers
440 views

Unable to Access WP Admin or Login buttons after Migration

After migrating from IIS server over to CentOS, I am having a hard time logging into my admin. When I did manage to login it said the User had no permission to login into WP Admin so it was the ...
1
vote
1answer
180 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 ...
1
vote
1answer
67 views

Permission issue with custom post type - not added to menu - by plugin

I've created a custom post type and taxonomy like this... function register_post_type_products() { $labels = array( 'name' => _x('Produkter', 'post type general name'), ...
1
vote
1answer
157 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 ...
1
vote
0answers
813 views

Grant user rights to access certain tabs of a plugin

I found out a way to grant a user permission to access a single plugin but it has its flaws. Right now there are 6 tabs on the options page of this plugin. The user has access to all these tabs now. ...
1
vote
2answers
239 views

Hide images from anonymous user?

I'd like to set my WordPress (self-hosted) site up so that you can only view images if you're logged in. I want it to be impossible to view the images without being authorized as a user of the site. ...
1
vote
1answer
218 views

Permissions in a Local Dev Environment (OS X)

I wanted to enable WordPress auto-updates to work without FTP, so I added: define('FS_METHOD', 'direct'); to my wp-config.php. So in order to grant write privileges to WordPress's auto-updater, I ran ...
1
vote
1answer
1k views

Which directory should be writable to update wordpress?

I configured file permissions according to here like this. apache user runs server and wordpress user owns directory, this user is only used for this site. drwxr-xr-x 5 wordpress wordpress 4096 ...
1
vote
0answers
47 views

Filtering results for post_type tells me I don't have permission

I have a post type that for some reason I am unable to access. Here is the message I get when I try to access it: You do not have sufficient permissions to access this page. edit.php?post_type=alt ...
1
vote
0answers
155 views

Editor and contributor roles not correct after adding function

** RESTATED ** I am creating a bridge. The work involves a default installation of WordPress and a plugin to bridge a forum and WordPress. The forum provides all the account information. The ...
1
vote
0answers
86 views

Lock access to plugin options

While editing a post/page, that item is locked to the current user. How can something similar be accomplished with the settings pages? Take this for example. admin A is changing settings for a plugin,...
1
vote
0answers
577 views

Featured image not working, because of custom user role?

I've got a weird issue. My post thumbnails aren't working with a custom role. Images can be uploaded, and when viewing the media uploader they show as attached to the relevant post. However, when ...
1
vote
0answers
92 views

Moved Wordpress site to new server, directory permissions not working correctly

I built a Wordpress on my hosting space and then transferred it my clients server - followed all the instructions and pretty much everything works fine. The ONLY problem I have is that the directory ...
1
vote
2answers
2k views

Can't Install Standard Plugins on a Local MAMP installation

I've tried to install two standard plugsins (wp-touch was one). I have a local installation under OS 10.6 and MAMP which otherwise seems to work fine. I select the zip file but get the error message:...
1
vote
1answer
379 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 ...
1
vote
1answer
1k views

Limit a user to have access to only specified pages?

I have several users that I would like to put in user groups. The reason for this is each user group will have access to a specific set of pages or a specific custom post type. I would like to be able ...
0
votes
0answers
7 views

Directory and file permissions

I just installed a new server with Ubuntu 20, and after applying permissions to the directory structure I got the error "Installation failed: Could not create the directory" Usually these ...
0
votes
0answers
8 views

Visitors “do not have permission to view this content” on home page only

This problem started suddenly. The navigation and all the other pages are still ok. I built a new home page, simply by duplicating my old one, and then set home page to my new page. That didn't help. ...
0
votes
1answer
34 views

Permissions Script Not Working

I am running a LAMP dev environment on ubuntu 18.04 with wordpress 5.4.2. I found this awesome script meant to make adjusting permissions on wordpress installations easy, getting rid of 403 errors in ...
0
votes
0answers
19 views

Installing SkimLinks on WordPress Business Plan

I'm trying to add SkimLinks to my website. I am using a pre-designed theme that I found on Wordpress (It's the Cubic theme). According to SkimLinks they don't recommend using the WordPress built in ...
0
votes
1answer
15 views

How to hold posts and accounts for moderation on WordPress Network site

In WordPress MU is there a way for a network admin to hold posts in moderation? For example: A user creates an account and a site They create their first post The post is held in moderation and the ...