Write FTP permissions Staging site
-
Hi there René,
I have the basic version and did succesfully create a staging site (called ‘dev’). Everything works fine except a couple of things (redirects mainly) from another plugin I have.Nevertheless I have problems modifying files through FTP as I do not have 775 Write permissions. When I go to attributes and check the box, it tells me ‘permission denied’.
I tried with several folders, files from my staging folder and always denied. Even through to do it from the main htdocs folder and spreading to subfolders.Any idea?
I can’t edit my style.css!
-
To be more precise… I want to set rwxrwxr-x permissions to my staging site and currently rwxr-xr-x and can’t find a way to change it.
It would be great if you could give me some hint @rene !
thanks in advanceHello @adrianinf
usually speaking the permissions should be 755 for folders and 644 for files.
If you can not change them, please ask your hosting provider as the responsible party for this kind of issue. They should be able to provide you with proper assistance and a solution to this.Cheers
RenéHi René,
Thank you for replying. I believe the hosting provider has nothing to do with it, as I can change permissions in all the other folders/files without problems. Yes, I knew 644 for files, I just wrote it too fast.
Can you think of anything that might come from your end (plugin)?
Thank youHi,
please check the owner of the files. This is visible with your FTP client, too. The owner should be identical to the owner of the other files that you can edit.
If it’s different you will need to assign the same owner to that folder.This should fix it.
Besides that: When wp staging copies files, it will grab the constant FS_CHMOD_FILE from your wp-config.php if it has been set by you and will change the permissions of your files and folders to that value. If that value is “wrong” it could lead to restricted file permissions on the staging site. So make sure that it is correct if it is there.
-
This reply was modified 6 years, 5 months ago by
Rene Hermenau.
-
This reply was modified 6 years, 5 months ago by
The topic ‘Write FTP permissions Staging site’ is closed to new replies.