motivated wrote:

Ok, I know apache is working.
I put http://localhost/platform into the address bar and up pops a pretty page.
Now all I need to know is "how do I get my work into the folder "html"
Thanks, Kelvyn

Hi Kelvyn,

Linux takes security much more seriously than windows. Basically, the problem that you have is that your desktop is owned by you, the person you logged in as. However, the web server, which other people use, needs to be shut down tight to stop them abusing it.

To do this, linux use, as their first line of defence, the concept of the groups and users. Access to a folder or file can be granted or denied at a user level, or at group level ( which is just a bunch of users ), or at the world level.

There are three types of privilege that you can allow at these three levels of 'granularity' - to read, to write and to execute ( run ) a file.

The following extract from my home directory shows this.


-rw-rw-r-- 1 steve steve 9100 May 2 09:02 changelog.txt drwxrwxr-x 10 steve steve 272 Dec 10 09:14 firstalert drwxrwxr-x 2 steve mail 48 Feb 25 2004 Maildir

I am steve, in group steve. The file changelog.txt ( identified by a '-' at the start of the line ) can be read and written to by steve and anyine in the group steve, and read by anyone ( rw- for user, rw- for group and r-- for the world ). The directory firstalert is the same, but just to confuse you, you need execute permissions to use a directory. Maildir, on the other hand, is in the group mail, which means that anyone in the group mail can write to that directory, which is handy for procmail when it delivers my mail!

Look at man chmod, man passwd, man group for a start, and get on that command line!

hth,

Steve

Reply via email to