Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a WP installation on my local machine and trying to get my hands dirty with plugins. I wish to clone a project from github which has this plugin code. However, i dont have the permissions inside plugins to do this as a normal user without su priveleges. (of course i can become root and do this but i dont think thats the way it should be).

Then by default the folders in a WP installation have group set to "tape", which appears strange to me.

What exactly should be the right permissions for the internal folders on a local WP installation?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Best thing to do is check the WP docs themselves for correct file/folder permissions and how to change them, if needed: http://codex.wordpress.org/Changing_File_Permissions

Typically, all files should be owned by your user (ftp) account on your web server, and should be writable by that account. On shared hosts, files should never be owned by the web server process itself (sometimes this is www, or apache, or nobody user).

Is "tape" a local user name? Or FTP name?

Depending on what kind of system you're using - a local install of apache, php and mysql - or a stack like Bitnami, XAMPP or MAMP, there may be slightly different owners and groups for folders and users.

share|improve this answer
    
No. "tape" is neither a local username nor an FTP name. As i mentioned, this WP installation is on my local machine running on localhost. –  hAcKnRoCk Mar 17 '12 at 16:51
    
btw, i followed this post wordpress.stackexchange.com/questions/2200/… and edited my wp-config file. –  hAcKnRoCk Mar 17 '12 at 16:52
    
Did the instructions in that other post work? –  songdogtech Mar 17 '12 at 17:44
    
No. that was n t the solution actually.Right now i have 751 permission on my plugins folder. Seems to work. –  hAcKnRoCk Mar 17 '12 at 17:53
    
OK, 755 is standard. –  songdogtech Mar 17 '12 at 18:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.