• Resolved Robert

    (@robg48)


    Hi Everyone,

    I’ve installed WP on Ubuntu 14.04LTS running the latest versions of Mysql, php, and Apache2 and just can’t seem to get the permissions set correctly.

    I found quite a few ansers to this question by Googling – here and on Stackoverflow and Ubuntu forums – and have tried them all, but none seem to be “exactly correct”.

    For instance (and everything runs great – so far!) my theme folder and subdirectories are all 775 but my files are all set to 664….I thought that was correct but when I’m in the admin panel of WP and try to edit a file – the functions.php within my theme – I have no “update” button to select because it says it’s not writable.

    Does anybody know the default permissions settings for WP 4.1.1 running on Ubuntu 14.04LTS and Apache2?

    Thanks!
    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Robert

    (@robg48)

    By the way – I changed the functions.php for my theme to 775 and I still don’t see an “update” button.

    Thread Starter Robert

    (@robg48)

    This was the problem and the fix:

    755 for folders and 644 for files is the default permissions of files and is quite good for starters. I think you need to look not permissions but the ownership of the wordpress folder.

    For example, webpages and folders should be owned by the www-data user. Try:
    Code:
    chown -R www-data:www-data /var/folder/of/wordpress

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with permissions settings’ is closed to new replies.