• hello guys,
    i installed WordPress on a private server shared with many other users however folders inside this server are protected with permissions given to every user.so for me as user
    i could read and right inside these folders that’s why i could install WordPress and it worked fine But there only one problem : WordPress cannot change any thing inside these folders wich caused many problems (istalling plugins,themes, creating pages,posts , uploading files,photos …).So my question is how to give WordPress access to do such things in other words to whome should i give access right so that WordPress works normally.

    thanks.

    • This topic was modified 7 years, 1 month ago by bsahmed.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi bsahmed,

    I would say that it’s a job of the server administrator to make sure that the server is properly configurated so that WordPress works as it should be.

    That being said, if you have (s)FTP acces you could add some constants to the wp-config.php so that you can update WP and install plugins/themes etc.
    https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants

    Thread Starter bsahmed

    (@bsahmed)

    i know but the server’s admin told me to give him a user’s name so that he could give access to it, and i don’t know what’s the name of wordpress’s user.And i am looking for this for a while now to make things clearer when wordpress tries to read or write on a file it do this under a user’s name that’s what i need.

    • This reply was modified 7 years, 1 month ago by bsahmed.

    It’s maybe a bit harsh but it would probably be in your best interest to look at a different hosting provider that has more experience hosting WordPress websites.

    Because it is a private server there are tons of different possibilities of solutions but also of what is causing the problem.
    tHis is probably more an issue on the server/software level than it is with WordPress itself.
    The PHP process that WP is using should be allowed (within limits) to make read/write changes to files, it’s up to the server admin to configure this properly.

    Thread Starter bsahmed

    (@bsahmed)

    No its more wordpress issue because if we know how wordpress works we can understand how does it access to its folders and then give it the access to do it.

    It’s mostly about file ownersship and the processes that run on the server.

    https://codex.wordpress.org/Updating_WordPress#File_Ownership
    https://wordpress.org/support/article/changing-file-permissions/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘wordpress permissions problem’ is closed to new replies.