for questions regarding permissions of different user groups in wordpress

learn more… | top users | synonyms

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
115 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
25 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
123 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 ...
0
votes
0answers
9 views

What are the proper file & directory permissions for WPMS

I am looking for some sort of concise reference document that indicates what the proper *nix permission settings need to be for all WordPress files and directories. I am also would like to know what ...
1
vote
2answers
1k 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 ...
0
votes
0answers
112 views

Folder Permissions, fsockopen enabled and cURL is disabled

Hello I recently migrated my wp site to a new host and it has being nightmare since i am not able to upload pictures to the Media gallery and install plugins. WP keeps showing me this error and when ...
0
votes
0answers
12 views

User only edit CPT with slug that matches username

I'm in a situation that necessitates I complete this project within a week. So any help or specific guidance to my question would greatly appreciated. Is it possible, without creating an incredible ...
1
vote
1answer
264 views

Wordpress in IIS 7.5 - “cannot create directory”

This is a common problem (so I've found out) but I cannot get WP to play nice with IIS 7.5 / PHP 5.6. Updating (WP + plugins) and installing (plugins) always return the error "Cannot create ...
10
votes
3answers
356 views

What is valid timing of using current_user_can() and related functions?

During the vanilla WP core load the current user is being set up in $wp-init() which is after theme load and before init hook. This is in line with good practice of functionality getting hooked to ...
0
votes
0answers
74 views

wp_login_form to redirect the same as login_redirect filter

I have installed the plugin WPFront User Role Editor and it has redirect settings so that you can specify where each type of user is redirected upon login. This works great for the regular login form ...
0
votes
0answers
49 views

sufficient permissions to access this page

I recently changed my DB password as security measure after having discontinued services of a coder I had worked with. I updated my wp-config file so everything is working fine except the page(s) the ...
3
votes
2answers
358 views

Allow User to Edit Page Based on their Email

Quick Info I am using the Posts 2 Posts plugin in order to create a relation between Teachers and the Classes they teach. The teacher's page is a custom post type of faculty in which teachers are ...
1
vote
1answer
50 views

Set default page for user account in admin

I have set up an ecommerce site using wordpress/woocommerce and am now adding the users who will be dealing with the orders to the site. The only part of the site that they need to have access to is ...
-1
votes
1answer
2k views

how to remove some permissions from a shop “manager role” in woocommmerce?

well, I'm using woo-commerce plugin to manage a shop. I need to add a user who can manage products(add new, edit). so I added a user and gave him a shop manager role, but the permissions granted for ...
0
votes
0answers
58 views

Set wordpress permissions correctly on Centos 6.5 VM + apache 2.0

I've a Centos 6.5 VM with apache 2.0. I'm tring to understand how wordpress permissions should be set, in order to have a safe environment and make it update via Wordpress UI rather than ftp. This is ...
0
votes
0answers
41 views

how do i use user_has_cap hook to restrict access to some fromidable forms?

I would like to restrict access for 3 users to access three specific forms, so one form each and be able to edit it; Without seeing other peoples forms. how can i achieve this? This is how far i have ...
0
votes
1answer
194 views

Return scheduled posts with WP REST API

I'm using WP REST API plugin for a custom web application and I need to get access to the scheduled posts of the target wordpress website. However I can't find any parameter or filter to achieve this ...
0
votes
0answers
157 views

Failed to open stream: Permission denied

I am getting this error throughout my WordPress site. Warning: imagejpeg(/home/petsp_f/public_html/wp-content/uploads/2014/10/filename-66x66.jpg): failed to open stream: Permission denied in ...
0
votes
2answers
63 views

Plugin PHP write permissions

I wrote a plugin in which one of the PHP files itself opens and writes another small text file. How to grant this PHP file the right permissions?
6
votes
2answers
10k views

Create custom permissions for user type

I'm currently wanting to have it so that writers on my site have to have an admin approve their content before it's published, but still be allowed to do other tasks such as uploading images, adding ...
0
votes
1answer
4k views

wp-content Folder Permissions (777 OK?)

I seem to be having issues with folder (and maybe file) permissions getting changed possibly by an FTP client. The WordPress install is using https. It started primarily with permissions in the ...
0
votes
1answer
194 views

Managing Users and Creating Groups [closed]

We're going to be transitioning from a small, outdated CMS that's no longer supported, to WordPress for our new CMS. Our old CMS allows us to restrict access on the back-end so that by default User A ...
0
votes
1answer
306 views

wp-content - permissions for files/folders created by apache

My wp-content folder has owner 'User' and group 'www-data'. The permissions are 775 for folders and 664 for files, so the server can write inside folder. But when the server creates folder and files ...
1
vote
1answer
34 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'), ...
3
votes
2answers
302 views

wp-admin redirecting to https, denying login

I use cloudflare via the cloudflare plugin, have SSL enabled. Enabled ssl within the wp-config.php file: define('WP_HOME','https://example.org'); define('WP_SITEURL','https://example.org'); ...
2
votes
3answers
3k views

Recommended File Permissions

Hey guys, I have been spending the longest time trying to figure out this issue. I would like to know what the file permissions should look like in WordPress in order to use the autoupdate feature. As ...
-1
votes
1answer
641 views

Cannot upload themes. Error: “The uploaded file could not be moved to /var/www/wp-uploads/localhost/2011/10.”

The uploaded file could not be moved to /var/www/wp-uploads/localhost/2011/10. That's the error message I get when I try to upload a wordpress theme. This is my current permission status of my ...
0
votes
1answer
198 views

403 (Forbidden) delete file image in themer folder

I'm having trouble with permission to delete files that are within the theme folder. All folders and files are with permission 775 and there is no error in the code , because when I use the code in a ...
0
votes
1answer
25 views

What's the most secure way to grant a user permission to update in a multisite?

I've created a multisite for a local charitable organization that contains five sub-clinics inside it. I have various plugins running (security, SEO, etc.) in the multisite activated "across the ...
0
votes
1answer
72 views

Images not showing on homepage after migration [duplicate]

I have a website with one section not displaying images after migration, the src attribute returns empty urls, the site is intpro.co.zw and the section im referring to is on Latest Properties What ...
1
vote
3answers
748 views

Hardening wordpress: wp-content file permissions?

I'm writing a script to automatically check file permissions in all wordpress installations on a server. This document http://codex.wordpress.org/Hardening_WordPress is unclear on a certain point: ...
0
votes
3answers
2k views

Can't upload media, permissions are correct

I did a manual backup and re-install of a WP site, and it worked fine. Then my client updated some plugins, regretted it and asked me to restore the site to its previous state. I used the same backup ...
4
votes
3answers
1k views

Cannot install plugins even though www-data has write permissions

All the files in my WordPress path are owned by myuser:www-data and Apache is running as www-data. All files and folders have group write permissions, e.g. -rw-rw----, but I keep being prompted for ...
0
votes
1answer
54 views

WordPress Installed But Not Showing Up! [closed]

I successfully installed WordPress on my domain. I FTP'd and installed it manually. But, something very strange is happening. Whenever I visit my website, the default WordPress Sample Post page is not ...
2
votes
1answer
260 views

Is there a simple way to manage capabilities per user?

I have a WordPress-Site where some people (non-expert clients) need to create/manage users. The site uses multiple custom post types and each user is assigned permissions for one or several of those ...
0
votes
1answer
121 views

Admin Post List Only Show One Category

I want a user to only be able to view a single category type when clicking "posts" in admin. I've tried messing with list_terms_exclusions, but that only seems to be effecting the category management ...
0
votes
1answer
20 views

Unable to access custom plugin backend

So, I just created a new plugin and i've added capabilities, a new role, linked them all together, etc.. etc.. but for some reason I'm unable to access my own backend. Error message is the generic ...
2
votes
1answer
452 views

local folder permissions vs chown — security considerations

I was trying to install a plugin, and I kept getting the following error: Unpacking the package… Could not create directory. I'm on Localhost on a XAMPP stack on Mac OS X Yosemite. The way I ...
2
votes
1answer
363 views

Disable posts, only allow to edit existing pages, not create new ones (create_posts)

I am trying to limit a user role to only be able to edit existing pages, but not create new ones or do anything else like anything with posts. I have read this: Is there an existing capability to ...
1
vote
2answers
696 views

Maximum upload size changes in php.ini ignored - How to remove upload size limit?

I'm working on a multisite WP installation and I need to import content from other Wordpress sites (.wxr files). When I use the Import WordPress plugin I got the following: The maximum allowed ...
0
votes
1answer
25 views

Permission error in wordpress

I am completely new to wordpress. I just installed it and wanted to change the theme of my website and I get following error: Installing Theme: Klasik 0.7.5 Downloading install package from ...
0
votes
1answer
411 views

Permission to change post Author

I am trying to create a "limited admin" but I cannot manage to give this user rights to change the author of posts. The regular administrator can see the dropdown option to change author from both ...
-1
votes
1answer
217 views

Default installation permissions for wp-config.php

Recently I've noticed that many of the wordpress installations we have on our servers where being attacked and ifected by this thing ...
1
vote
1answer
3k views

Enable plugin installs without FTP with user from same group as Nginx/PHP-fpm

I just setup a VPS and I installed everything I needed and it runs well. Problem is that I want it to be able to update automatically and allow me to install plugins without ftp. This is my setup: I ...
1
vote
1answer
85 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 ...
6
votes
1answer
2k views

Disable Media Uploads to non Admin Users

I am working on a clients site, one of the features they want is for his Editors or Authors to only be able to select existing images to insert into Posts from the Media Library. So looking at the ...
2
votes
1answer
818 views

How can I have different groups of editors only allowed to edit certain parent+subpages?

I've tried a bunch of different plugins, including Role Scoper, Advanced Access Manager, User Account Manager and more, to accomplish this but can't seem to get it working right. Basically, the ...
0
votes
1answer
154 views

Can i exclude certain page templates for a specific role?

Let's say i have two types of templates available when making a Page. "Default template" and "Intermediate template". I have a role called "editor", and i do not want the editor to access the ...
1
vote
1answer
1k views

Allow Users Only Edit Their Profile?

We want to create profiles for individuals/companies which would allow them to login to the backend and adjust their profile. So essentially the admin of Wordpress would have access to all pages and ...