• Resolved timtak

    (@timtak)


    The wordpress installer uses setup-config.php to create and change the wp-config.php file.

    After making all the changes it chmods the file to
    chmod(‘../wp-config.php’, 0604);
    However since it is running as apache this means that I as a user can not download, view, edit or chmod my wp-config.

    I get
    SITE CHMOD 777 /path/wp-config.php
    Response: 550 /path/wp-config.php: Operation not permitted

    My server adminstrators do not bend over backwards (to say the least) to help so I need to work out a way to write a php script to chmod or chown the file to something that I can access.

    If I just write a php file with
    chmod(‘../wp-config.php’, 0777);
    and other one to put it back will that work?

    I think that perhaps chmod is a wordpress php function maybe…

    Tim

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter timtak

    (@timtak)

    Is no one else having this problem?

    We edit the config file manually before the installation process starts. So, we don’t have this problem.

    Thread Starter timtak

    (@timtak)

    Thank you for your response. I did not seem to get a notification, so it is a good thing I noticed. I think would have done it manually too if I had know what the installer was going to do to me.

    Fortunately I have found the following file manipulation softwaret that includes a chmod function.
    https://www.solitude.dk/filethingie/contact.php
    which seems to be able to chmod wp-config.

    Tim

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘installer (setup-config.php) chmod to 0604 so I can’t change wp-config’ is closed to new replies.