• Hello,

    I’ve just changed my wordpress server/url, and I’ve a problem with file permissions.

    On the old server I had almost everywhere 755 (I think it’s by default, right?). In the new server permission are as they were on the old server, but now when I try to edit (for example) a template, directly from wordpress, it says me that I’ve to change the file permissions and make it writable. Only 777 works.

    I’ve full access to this server. I’ve a root account which controls everything and an FTP account which controls the Document Directory. I tried to assign wordpress files to both account but I didn’t had success. What should I do?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Permissions have a complex interaction with the hosting environment, in particular which user the PHP environment runs under.

    There is a comprehensive article here:
    https://codex.www.ads-software.com/Changing_File_Permissions

    Please let us know what settlement you work out.

    Thread Starter daimpa

    (@daimpa)

    Hello, first of all thanks for the reply. I’ve read that article but it didn’t helped as my problem is that I’m not recognized as owner.

    I’m on a centos server, I use webmin as control panel, and I’ve ssh access. If I check the files owner user and group, it’s the user I want. What should I do? Thanks.

    My reading of the article is that the files should have group ownership which includes the apache server, also that permissions should be 755 for directories and 644 for files, but it would seem that 775 and 664 is more reasonable.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change wordpress server – permission problems’ is closed to new replies.