Permission for home!

Posted by mohan34u on Jul 2, 2007 1:56 PM EDT
LXer Linux News; By Mohan R
Mail this story
Print this story

What happens when you don't have permission to enter into your home?

It's about 2 years of journey since I registered in freeshells.ch, one of the free Unix shell providers gives excellent platform for a student or self learner(like me) to explore the world of open source.

From `cd` to `gdb`, I learned each and every thing through freeshells. Because, I don’t have a system in my home. I am also able to make my own simple web page and hosted it in a server (http://freeshells.ch/~mohan34u/home.html). After I showed my web page to my friends and professors, they also started to think about the Open World, because until that time, they know only one world, the world of mistakes, the world which is ruled by the cheaters, the world which only have Fear Uncertainty and Doubt(I hope u all accept these words and know the meaning). I pushed them to know more and more about the open world. Now I am proud to say that I am also an activist of Open world.

On 28 June, I don’t know how it happened; using putty I opened a `ssh` connection with freeshells.ch with my login ID and Password. The process went smoothly, after that, it take me to the hell. The `putty` window suddenly closed. I tried for about 13 times(not a good number, isn’t it?). But putty didn’t cooperate with me. I don’t know what happened. I checked through `winscp`, but it also reject me. Before, the conclusion I went for `ftp` with different login directory as‘/home’. Now, I am able to use `cd` but I cannot `cd` to my home directory(definitely a hope for me, but I didn’t realize at that time). I checked my website, but it also take me to that same hell(page cannot be viewed. Permission denied). But the default server page(http://freeshells.ch) is appear correctly without a delay.

Then I went to my room like a person who lost everything (really that day is one of the horrible day in my life). I lost my connection with my world. I tried for other free shell providers through dmoz.org but everyone have some rules and regulations or they will give 5 or 10MB only. At last I lost.

But, I found two clues.(when I tried to open my home page, I got the permission denied message). Seems to me that I changed some permissions to one of my directories. So I began my experiment.

First, I wrote my “home.html” page path(/home/mohan34u/public_html/home.html). To make my “home.html” page appear in the browser, I know that every directories in the path should have execute permission for “others”. So I want to check every directories permission. I need one tool to do that. Its ‘32bitftp’.

Using ‘32bitftp’ I logged into my account with /home as login directory. I checked my home directory’s(/home/mohan34u) permission. The permission string gives (d---------).

Using `chmod` button on ‘32bitftp’ I changed the permission to (drwxr-xr-x) (thank to 32bitftp). At last I got the connection. I never forget this lesson. Unix proves once more, that it is also one of the teacher who put the test first and teach the lesson next, like the God.

(note: please forgive me for grammar mistakes)

  Nav
» Read more about: Story Type: Editorial, Tutorial; Groups: Community, LXer

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.