Questions tagged [permissions]

for questions regarding permissions of different user groups in wordpress

Filter by
Sorted by
Tagged with
1
vote
0answers
89 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 ...
0
votes
1answer
27 views

Reseting file permissions

I am having trouble with file permissions on my WordPress site and I found a blog post that suggests to reset them with the following commands: find /path/to/site/ -type f -exec chmod 664 {} \; find /...
0
votes
1answer
383 views

get_delete_post_link() only works for administrator, even if other user has exactly the same permissions

I've built a marketplace-type site that gives users the option to post, edit, and delete listings via get_delete_post_link(). For those listings, I've set up custom post types. The problem is that ...
0
votes
1answer
784 views

Make a single page in WordPress available only for Admin and Subscribers

I'm trying to make a single page only available for administrator and subscribers from the site. I've put the page as private in WordPress admin and tried to allow that only for these two roles using ...
0
votes
0answers
320 views

Cannot execute php files in wp-content

Something blocks my php files from executing in wp-content folder including plugins and themes folders. If I create a new php file in wp-content, and try to access it like this /wp-content/test.php, ...
6
votes
1answer
7k views

Media not actually deleted on disk when click “Permanent Delete”

I have uploaded a new docx and pdf through the media library and the procedure is completed successfully. I can confirm that the direct link actually works. The problem is being identified when I try ...
0
votes
1answer
57 views

Admin user lacks admin permissions after hack and can't reinstate

My site (4.5.3 on Apache/Linux) was hacked, I suspect something like the one described here. As best I can tell I've removed or at least disabled the hack, however admin users aren't able to perform ...
0
votes
1answer
297 views

Wordpress FTP/media directory permissions problem?

I keep having problems when I try to update or download plugins in Wordpress, I keep getting a "Directory not created". Also, when I try to upload images, there is always "permission denied" problems.
2
votes
1answer
104 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. ...
-4
votes
1answer
53 views

How to give access to programmer/developer to make changes, but prevent undesirable changes? [closed]

Is there any way that I can give access to my programmer to make changes but make sure they don't delete stuff it they get upset?
1
vote
0answers
144 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 ...
2
votes
2answers
1k views

What error logs can I check to see why plugin updates are failing?

I've updated to wordpress 4.7.x. I don't know why, but after doing so, I no longer have the ability to upload plugins (it keeps asking for FTP access. We've never used FTP always SFTP), and I can no ...
0
votes
1answer
82 views

I migrated WPMU site: Unable to create directory uploads/… Desperate for help!

Desperate for help! I MANUALLY transferred a WPMU site to a new server, root folder, and now have a constant “Upload folder is not writable. Export and file upload features will not be functional.” ...
0
votes
1answer
36 views

Wordress admin page is fetching error You do not have sufficient permissions to access this page.

Wordress admin page is fetching error You do not have sufficient permissions to access this page. Mysite url is https://www.artvault.co.in but its admin panel url - https://www.artvault.co.in/wp-admin ...
0
votes
1answer
56 views

How to grant user access the page [closed]

Is there any plugin where i can create a page and grant permission for specific user and that user should be able to see the pages which are accessible for him/her? or is there a way i can do that?
16
votes
1answer
13k views

Setting $_SERVER['HTTPS']='on' prevents access to wp-admin

First off my server is sitting behind a load balancer. My SSL certificate sits on the load balancer and handles HTTPS. The data coming in on port 443 is forwarded to the Wordpress server using HTTP ...
1
vote
0answers
167 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 ...
6
votes
1answer
4k views

WP in Docker - cannot install plugin or upgrade WP

For development purpose, I need to setup an installation of WordPress in a docker container. I found and follow this tutorial. Everything is working well, with all the security and optimisation. But ...
0
votes
3answers
7k views

Update to Wordpress 4.7 - Fatal error: Maximum execution time of 30 seconds exceeded

I tried to update Wordpress to version 4.7 and received a fatal error. I'm using windows and XAMPP for localhost development. Update WordPress Downloading update from https://downloads.wordpress.org/...
20
votes
1answer
476 views

With Rest V2 (WP4.7) how does one restrict certain RESTFUL verbs?

I am aiming to restrict certain RESTUL verbs per custom post type. For example, given a Vocabulary custom post type, I would like to say: Permission Matrix +-------+---+----------+ |index | X | GET ...
0
votes
0answers
792 views

Correct permissions for SQLite database

I'm developing a Wordpress site with SQLite as my database. The db file is located on wp-content/database/.ht.sqlite and I don't know which file permissions I should give to it. I tried following some ...
0
votes
1answer
60 views

Wordpress install checking permissions of user id 0

I'm getting the popular Sorry, you are not allowed to access this page. But I can't seem to find a solution for the cause of it on my blog setup. I've added the function function check_user_perms( $...
1
vote
1answer
497 views

Definitive wordpress directory ownership and permissions on linux

I know there are a thousand questions about this all over the place and trust me I've been trying every possible solution for years [not an overstatement] and each and every one is either missing a ...
1
vote
1answer
35 views

Are User Levels Still Currently Used?

I've migrated several sites from standalone installs into a Multisite install. For the user table, I just recreated each new user individually one by one, and readjusted the user ID's accordingly ...
1
vote
1answer
926 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. ...
-2
votes
2answers
59 views

Two sites one PC

after this problem I think that there is a problem if I have two wordpress installation on one pc. I've fallow this instruction and the only thing is that I've change the wp-contents folder like this ...
4
votes
1answer
167 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 ...
1
vote
1answer
134 views

Permissions Issue with WordPress

I've been working on securing my WordPress site. It was all working before I changed the permissions. I now get a 403 Forbidden error when trying to log in. I added my username to the www-data group:...
0
votes
1answer
63 views

How can I create a profile field group that the user can't see?

Profile field groups allow you to create distinct collections of profile fields. Is there a way to set permissions on one of those field groups so that even the user requires a certain level of access ...
6
votes
1answer
3k views

Wordpress REST API - Permission Callbacks

I'm currently building a small REST API with the WP-REST v2 plugin. Everything is working perfectly fine, however, in the documentation there are permission callbacks, which restrict access to certain ...
1
vote
1answer
256 views

Restricting user login by IP address

I have a website that is login required in order for users to view the website. I have set up one user for all internal members to use to view the website, however i want to limit just that user to ...
0
votes
1answer
535 views

Groups and subgroups for permission

I have a problem. I would like to have "groups" to give access to posts. And "subgroups" to show different sections of that post. A simple example: "Only users from Group 1 can access to Post 1. And ...
0
votes
1answer
2k views

Wordpress monthly upload directory owner set to root

This is a weird one. Wordpress by default stores uploaded media in monthly sub-directories of the uploads directory. Eg wp-content/uploads/2016/07/ On one of my sites, this directory's owner gets ...
1
vote
2answers
2k views

Allow contributors to create page (but not publish)

Contributors can create post drafts but not publish. I'd like to add the same permission concept but to Pages. That is, can I allow a Contributor to create a page draft only to have an Editor/Admin to ...
0
votes
1answer
367 views

Moved Wordpress to other folder (Windows) WAMP = 403 Forbidden

I am using a local install of Wordpress for offline development on a Windows 10 machine, with WAMP on the server side. This morning I have moved the folder containing the wordpress from c:\users\...
1
vote
0answers
424 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
0answers
161 views

What is this code in my theme's footer.php causing chmod permission warnings? [closed]

I am stumped on this and can't seem to fix the issue. I removed the code, that didn't work as it came back. I tried looking throughout my theme's files and can't see anything else. Does anyone have ...
2
votes
0answers
40 views

How can I restrict a user to a specific item in the Wordpress Admin? [closed]

Let us assume I want to restrict someone only to accessing the comments section of the WP-Admin interface. I don't think that this functionality is covered by the default group permissions. How ...
33
votes
6answers
66k views

to perform the requested action wordpress needs to access your web server. please enter your ftp

I'm following Changing File Permissions « WordPress Codex, yet when I'm try to update and/or install plugin and/or theme through wp-admin, I'm getting following: To perform the requested action, ...
0
votes
1answer
510 views

Public and Private keys incorrect for user

I am attempting to set up a WordPress installation on a DigitalOcean Ubuntu droplet, however after following the instructions on https://www.digitalocean.com/community/tutorials/how-to-configure-...
2
votes
1answer
1k views

Multiple Authors on Single Post

Does anyone know how to assign multiple Users as authors of single individual posts (even single custom post types)? I want more than just displaying as tags the list of authors. I am looking at the ...
1
vote
1answer
218 views

Pagination Error on Admin (You do not have sufficient permissions)

Hi everybody and tks in advance for your help! I have a plugin and I was trying to do some pagination for a custom query. Everything seems to work fine, but when I click on page 2 (or whatever not ...
2
votes
0answers
465 views

How to debug “You do not have sufficient permissions to access this page”? [closed]

The error You do not have sufficient permissions to access this page when trying to access wp-admin can result from many causes. How can I debug effectively what is causing the problem? Is there any ...
0
votes
2answers
837 views

Admin page and admin menu. Permissions plugin

I'm trying to write a simple permission admin page plugin. So far I made a page with every role where I can check a certain menu page to be disabled from menu. I simply get global $menu and save to ...
3
votes
1answer
8k 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 ...
1
vote
2answers
432 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
66 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
2k 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
926 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 ...
0
votes
1answer
447 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 ...

1 2
3
4 5
8