The reason for my problems was committed in a windows environment, but
it has to do with the unix file-attributes so that's why i posted it here.
If my question is not approved herein then i excuse and wonder what would
be a more appropriate place (i have searched but not found).
I also posted this in comp.unix.questions :)
the essence (details further down):
I upload a html-file to a webbserver via ftp (the program LeechFtp
under win98). I can see the file via my browser. So far all good...
Then i remove everybody's read rights (including my own) on that file
on the remote host (no, i don't mind you having a good laugh:)). After
that the (remote) file does not appear in my ftp-program. However, i can
still view it via my web browser. So i reboot to Linux and try the ftp-command
from there instead. Now i can't even log in to the server. It simply says
-connection closed by remote host-. So i reboot and try LeechFtp again,
and the same there... can't log in. Now i have tried all ftp-options i
have (LeechFtp (win98), the ftp-command in dos, the ftp-command in Linux
and the ncftp-command in Linux), but after that first reboot the server
just doesn't let me in.
Still... the file is perfectly viewable by all people via http (so
it must still be there, no?)
the details:
The server (heller.student.lu.se) of which i am talking belongs to
the university at which i am studying (in Lund/Sweden). There i have a
directory where i am allowed to store up to 10Mb.
In that directory there is a subdirectory called "public_html", where the web related material should go, that's where i put my simple little file (named "index.html").
"index.html" is my first humble attempt on creating a html-file. It
is nothing more than a black background with 3 blue centered words on it
"Min jeddra sida!" (in english "My darn page!" :)).
It should still be there on www.student.lu.se/~fpr99ako (or "heller.student.lu.se/~fpr99ako")
My os's are Windows 98 SE and the Redhat 6.1 Linux distribution.
They are both on the same pc and on the same harddrive
(i only got 1).
In LeechFtp (a graphical windows-program) there appears an option "Set attributes..." when i right click on a remote file. It's via that option that i changed the attributes of my file. Before the alteration i believe the attributes were 644 (everybody can read and only i can write). I changed that to 200 (only i can write; nobody (even myself) can read).
The purpose of that experiment was to see what the webbrowsers would give for an errormessage. I just wondered if it would say "access denied" or something like that.
Before i logged of i tried to overwrite that file by sending up a new fresh and identical one. LeechFtp did say -upload complete- but nothing changed. Neither the new file was visible.
Yes i am very sure that i don't simply type the wrong password when
trying to log in. When i (intentionally) write the wrong password i get
the -wrong user name or password- or -login failed- (dos) error message.
But now it says -connection closed by remote host- (in linux and dos)
or just keeps on trying logging in while displaying -could not log in to
heller.student.lu.se- (LeechFtp).
the questions:
Well... i think they are pretty obvious:)
1. Is my file supposed to disappear like that after changing the attributes?
Why did it?
2. What could've caused me not being able to log in to the server anymore?
3. Is there any way to get this all undone?
4. ...what happened?
some thoughts:
In linux my files don't disappear like that. They are still view able
through the ls-command. I have experimented back and forth in this matter.
And other users can also see those files listed by ls (even when no
one has any rights)
And i am thinking, if i by accident took away my read rights on a directory... could that cause me not being able to log in via ftp?
Yes, i will send a email to the university about this matter. But those
who actually would know anything pertinent in this matter are very occupied
people (or so it is said:))
If there i could resolve this problem with your help that would be
much better.
hmm. Ok. I do believe that's about it.
To the people who read this text i am very grateful:) nomatter if they
know anything about this or not.
This is my first mail to usenet, so i hope i didn't commit too many
mistakes:)
Well... as you know... any help will be highly appreciated.
thank you all and bye / alex