Question

I am getting a 500 error because the owner of some of my files is set incorrectly, its set at 0 0 when the rest are at 510 510?? How do I fix this, I've read something about ssh?

Was it helpful?

Solution

Yes, SSH is right. You need to use SSH to connect to your server (using openssh and the "ssh" program in Linux, or PuTTy in Windows) and issue the command webdestroya already posted:

$ ssh yourserver -l username <host>
OR
$ ssh yourserver [username@]<host>

And then issue the command to change your file permissions:

$ chown 510:510 thefile.file

OTHER TIPS

chown 510:510 thefile.file

If it is a linux server, you can use the chown and chgrp commands to change the owner and group of a file.

You can also use the chmod command to change the permissions of a given file - EG: 777 means that everyone has access to a file (probably not what you want, just an example:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top