How to change permissions for a folder and its subfolders/files in one step

I would like to change the permissions of a folder and all its subfolders and files in one step (command) in Linux. I have already tried the below command but it works only for the mentioned folder: chmod 775 /opt/lampp/htdocs Is there a way to set chmod 755 for /opt/lampp/htdocs and all of its content … Read more

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. I have tried chmod’ing the wp-content directories recursively with both nginx and www-data users and neither works 2 Because I had cut and pasted define(’FS_METHOD’,’direct’); … Read more

Destination directory for file streaming does not exist or is not writable

I am trying to upgrade my version of WordPress but I get this error: Destination directory for file streaming does not exist or is not writable. 3 This is a read-write permission error. Fix this by changing the “wp-content” folder’s permissions to 755. If this doesn’t work checked the wp-config.php file and if it’s not … Read more

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 and is set at subscriber by default. User requests from admin to have permission to custom post type. Admin assigns … Read more

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 modifying it. While setting up a new blog professionally I was wondering how that maps to what the MySQL database user privileges/permissions configuration … Read more

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, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web … Read more