Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18627

    Hello,

    I’ve been reading through the forums and have come across a common theme of changing a file’s permission to 444 in order to avoid losing changes. Well, we’ve made a ton of changes that we’d hate to lose if and when the theme updates.

    Can you please tell me the process to change a file’s permission to 444?

    Thank you,

    Stephen

    #100175

    Hey Stephen,

    You’ll need to do this on your server with an FTP program or with your server side file management software.

    See: http://codex.wordpress.org/Changing_File_Permissions#Using_an_FTP_Client

    As for the actual technique, I would *really* not recommend doing this as a way to protect files from updates. When updates occur they are fixing bugs or adding new features. If you prevent a file from being updated it could break the theme that is expecting a change in the function of that file.

    The recommended method if you are worried about this is to look at the change log for every update and then only update those files that are mentioned in the version.rtf that is inside the main package you download from Themeforest. If you are replacing a file you have made changes on, save a backup of that file and then compare the changes and re-add your modification.

    Regards,

    Devin

    #100176

    Oh, okay. Thanks for the warning Devin.

    Stephen

    #100177

    Just make sure to keep it in mind :)

    Regards,

    Devin

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Changing a File's Permission to 444’ is closed to new replies.