write permissions failed

Our support will answer all your general questions here.

Moderator: Rock

Post Reply
bbhrucy79
Posts: 122
Joined: Tue May 24, 2011 4:00 pm

write permissions failed

Post by bbhrucy79 »

Installation info
Write permissions Failed, please fix write permission problems, before you proceed with the installation.

Cant install,

Centos6 + Direct Admin

Any ideas?
bbhrucy79
Posts: 122
Joined: Tue May 24, 2011 4:00 pm

Re: write permissions failed

Post by bbhrucy79 »

What is supposed to be the correct permissions? I read here that all files tedata should be 666. So I did so.

How about folders? I have them now on 755.

Still no go.
bbhrucy79
Posts: 122
Joined: Tue May 24, 2011 4:00 pm

Re: write permissions failed

Post by bbhrucy79 »

okay solved it so let me post maybe someone else runs into this problem during server move


When you use scp command to directly copy files from one server to the other, the ownership and permissions are also copied.

But maybe on your new server you dont have the same user as on your old.

So after you finish scp copying, change ownership of all te3 files (the whole folder recursively) to the user that will use them:

Here "newuser" is the user on the new server, obviously substitute that with your actual system user name:

log in to new server as root:

chown -R newuser:newuser /home/newuser/domains/somedomain.com/public_html/te3



and also, change permissions (if there are still read and write permission errors) to 777 on all folders and files - of course, only if you are the only user on the machine:

chmod -R 777 /home/newuser/domains/somedomain.com/public_html/te3



This was needed for me for a CentOS 6 + Direct Admin server

hope it helps others :-)
Post Reply