for questions regarding permissions of different user groups in wordpress

learn more… | top users | synonyms

0
votes
1answer
70 views

wordpress using WP MVC: You do not have sufficient permissions to access this page

I am using wordpress 4.0, localhost, WP MVC for plugin development. I have a plugin named W2Store. It has three controllers, Countries, Currencies, Zones. All the three were mereged into one single ...
6
votes
2answers
901 views

How to prevent a post from being deleted?

For auditing issue, I only want a post can be trashed, but not deleted - for all users. So I have a plugin like add_action('before_delete_post', function($id) { wp_die(0); }); But ...
0
votes
1answer
92 views

How to hide wordpress error message?

how to hide wordpress error message "You do not have sufficient permissions to access this page" and show 404 error page for all non administrator's request like e.g mydomain.com/wp-admin/plugin.php ...
11
votes
3answers
20k 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
0answers
16 views

Proper permisssions for a file in uploads directory to be viewable by admin but not by public

What would be the proper permission to set for a file in wp-content/uploads so that it is not publicly viewable but can be accessed when logged into the admin area? Example - a user uploads a photo ...
0
votes
1answer
74 views

My Account Lost Administrator permission

Need help to solve this problem. First i did reflush all upgrade that didn’t complete that cause "WordPress Error: You do not have sufficient permissions to access this page" with force upgrade: ...
0
votes
0answers
62 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
0answers
46 views

How to restrict specific category posts from being read by specific user roles?

I would like that only users of role "Author" can read the posts of a category called "personal". How can I do it? Thanks
0
votes
0answers
76 views

Used Duplicator to transfer a site. Now my media uploads aren't working

I deleted an image from the Media tab and when I tried to upload another, I started getting this error: The uploaded file could not be moved to wp-content/uploads/2014/10 I tried CHMODing the ...
4
votes
1answer
254 views

Can't preview drafts after upgrade to 4.0!

I recently updated to wordpress 4.0. However, when I try to preview my drafts, I receive an error saying that I do not have the permission to do so. I've cleared my cache and cookies and restarted my ...
2
votes
1answer
2k views

Could not create directory

I have followed the instructions from https://help.ubuntu.com/community/WordPress ...
2
votes
2answers
2k 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? ...
0
votes
1answer
67 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 ...
0
votes
0answers
68 views

Cannot upload with 777 via plupload on Ubuntu 14

I'm using plupload in a HM plugin to let the users upload there logo. I just noticed that it only works on windows local server and in production mod. But on my test servers (2 servers both with ...
0
votes
1answer
33 views

Should I change the default file and folder permissions?

After reading the Hardening WordPress article I realise a good permission scheme is essential to the security of my WordPress installation. The article suggests a possible permissions scheme but my ...
0
votes
1answer
69 views

Uploaded files have permission 000

two days ago i updated wp to the newest version and this problem occurs since then. when i upload files to the media library, their file permissions are set to 000. means no rights. the files are ...
0
votes
2answers
50 views

page creator to leave comments ONLY

I am trying to set it so that the person who created a Page is the ONLY one who can comment on that particular page. This will be a logged in person. I haven't had any luck with Role Editor Plugins. ...
0
votes
0answers
52 views

Cannot upload to new wordpress installation in subdirectory on same server as existing installation

To make a smooth transition to a new site, we created a fresh new wordpress installation (3.9.2) in a subfolder of the root, called wp2. (The intention is to eventually redirect entirely to this site) ...
5
votes
1answer
5k views

when FS_METHOD = 'direct' is chosen?

According to the Wordpress Codes FS_METHOD = 'direct' is chosen when appropriate. (Primary Preference) "direct" forces it to use Direct File I/O requests from within PHP, this is fraught with ...
5
votes
4answers
9k 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?
0
votes
1answer
79 views

Restrict access to trash, only admin

I'm new in WordPress. I have to restrict access to the Trash for all users except the administrator. All users CAN move to the Trash, but only admin can delete permanently or restored. I do not know ...
0
votes
2answers
489 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 ...
0
votes
0answers
13 views

Multidomain site with custom permissions

We are going to build single instalation wordpress multidomain site, where each domain is used for different language. domain.com - english, domain.lv - latvian, domain.ru - russian, etc. All sites ...
2
votes
1answer
67 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 ...
0
votes
0answers
61 views

Can't Post to my Wordpress Anymore!

I'm at my rope's end with this whole thing and have tried everything I can to solve it. I have a WordPress site with a SQL database on Azure, but recently all of the users associated with the site ...
0
votes
1answer
65 views

bypassing permission error for a plugin's page

i'm getting "You do not have sufficient permissions to access this page" error when trying to go to a plugin's settings. there's only one user which is the admin and has full access. this is the URL ...
1
vote
0answers
201 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 ...
1
vote
2answers
79 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. ...
0
votes
1answer
227 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 ...
0
votes
0answers
133 views

Wordpress asking FTP Details

When i attempt to upload my plugin, WordPress asks for my FTP Credentials. After entering them, WordPress returns the error: Failed to connect to FTP Server ftp.domain.com:21 but my FTP ...
0
votes
2answers
75 views

How to prevent people from seeing certain articles in menus?

I found several plugins that prevent people from seeing certain widgets and posts. However, the posts I restrict still show up in all the places where you can see posts. They show up in search menus ...
0
votes
0answers
30 views

Folder Permissions + Security Concerns

I messed up bad guys. I while working on another part of my website I accidentally nuked my WordPress folder permissions. I was able to find/fix some problems and I got my site up and running but some ...
0
votes
0answers
14 views

Limit permissions for authors' fields in Types Custom Field

At a bit of a loss. Took over a WordPress project from outsourced coders who left the project a mess. My issue is this: We have a number of authors who can post using a custom type of post created ...
12
votes
4answers
7k 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
0answers
30 views

Editor have not permissions for a plugin

I use static html output plugin to export pages to html, but only the admin can use this plugin. A editor have not permissions to export a html page. It says: You do not have sufficient permissions ...
0
votes
0answers
75 views

Set role for manage users only under a role

I have to implement membership functionality where a user (company owner) can manage multiple users(employees) under him. I have created two roles in members plugin - Company user - Can add ...
1
vote
0answers
44 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 ...
0
votes
1answer
61 views

Moved Wordpress Directory - Having access issues now

I uploaded a couple of untouched Wordpress directories to my server and named them wordpress1, wordpress2, wordpress3 and so on. The reason behind is that I have a slow Internet Connection at home and ...
0
votes
3answers
55 views

Permission functions within wordpress

I'm currently developing a website and am exploring all possible options to restrict file viewing. I'm trying to find a way where I can load php files like my theme-options.php and cpt.php without ...
0
votes
1answer
92 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
1answer
67 views

Correct folder permissions?

I just recently installed PHP and wordpress on our coldfusion box and wordpress is throwing me an dialog saying I need to input FTP information so wordpress can alter the files. I read up on this and ...
1
vote
1answer
103 views

Prevent Wordpress installing plugins and themes via Admin

When I initially set up WP, I had entered my FTP details in the Admin so that I could add plugins and themes directly from Admin. However, I believe this compromises the website as I have found ...
0
votes
0answers
181 views

Strange error “You do not have sufficient permissions to access this page”

I've tried for days to figure this out, with countless research hours involved. I've exhausted reviews of other threads on here and on Google with no luck. /wp-admin/update-core.php Currently at ...
0
votes
0answers
11 views

Is it possible to allow a user to only edit categories of posts and nothing else?

I have a site with a lot of articles that aren't categorized. I'd like to hire someone to go through the articles and assign categories to them, then submit them for review and approval. However, if ...
1
vote
0answers
93 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
38 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
1answer
232 views

WordPress Permission Problems on Ubuntu 12.04 with LAMP stack

Permissions when associated with WordPress is something that I would never understand. Here are the problems: First problem is uploading. If I start from a fresh Ubuntu 12.04 installation then ...
0
votes
1answer
23 views

Configure Permissions in Mamp [closed]

I recently built a website on Mamp, and upon uploading to my hosting server, I seem to have lost permissions. My guess is that the migration from local to server brought the permissions with it. You ...
17
votes
3answers
13k 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
2answers
670 views

Running WordPress as FTP user?

I've been doing some research on file permissions as of late, as my WordPress installation on my VPS doesn't have write access. From what I've heard it's very dangerous to make the apache user the ...