Web Hosting Talk







View Full Version : Directory Permissions


-Edward-
11-30-2001, 09:48 AM
I'm having problems with a directory on 1 domain.

I never had this problem when installing on another domain but the directory wont keep the permissions i set. I cant understand why it will keep it on one domain and not another. How can i force the server to keep this directorys permissions?

hoot
12-04-2001, 07:48 AM
If I understand, you ftp in and try to change the permissions from 664 to 775 or something like this and it won't do anything? Am I right?
If so can you still delete and add files in this directory??

If not then you need to change the user permissions for this directory,

telnet in,
su the root ("su" and enter password)
Then type chown -R newusername /path/to/site/

Hope this helps ...

cactus
12-04-2001, 08:34 AM
You have to give ownership to that domain e.g.

chown abc.abc /home/httpd/abc