[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] index.html upload problem
- Subject: Re: [cobalt-users] index.html upload problem
- From: "WebMost" <rdavis@xxxxxxxxxxx>
- Date: Mon Jan 10 06:46:09 2000
Ahoy Nasser
You wrote :
> URGENT
>
> Unable to upload the index.html when I log in as admin. I can upload any
> other html document or image except the index.html.
>
> When I try to delete the index.html I also get "permission denied".
>
> Solution????
1) Click "Start", then "Run", then type "telnet" and hit enter
2) Click "Connect", enter your IP number, and hit enter
3) When prompted, type "admin", hit enter, then type your password, and hit
enter
4) Type "su" and hit enter, then, when prompted, type your password again,
and enter
5) Type "cd /home/sites/" (and here enter the site host and domain, e.g.
http://www.mydomain.com)"/web" and hit enter
6) Type "ls -l | more" and enter (the "|" or "pipe" is just to the right of
the plus key on your keyboard)
Now you should be able to see ownerships and permissions on each file.
Scroll down by hitting the space bar until you find "index.html".
Permissions should be "-rw-rw-r--". Ownership should be "admin siteX" (X is
the number of the site you are in).
7) If ownership is wrong, type "pwd" and hit enter. Now you are shown the
full path of the directory you are in. The site number is in that path.
8) Type "chown admin:siteX" where "X" is the site number.
9) If permissions are wrong, type "chmod 664 index.html" and hit enter
Congratulations! You are now a certified UNIX geek!
Aloha
Davis