LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-22-2003, 08:08 AM   #1
yoaliens3000
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
i cant change the default webpage to my own


im using mandrake 9.1 and im trying to make an http server. it wont let me change the default page to my own. everything i try. a dialop box pops us saying i dont have access too. would anyone know what the problem is and how to fix it?

sry if im sounding pretty newbish, im new to linix. win2k wasnt cutting it for a reiable server.

thanks alot.
 
Old 10-22-2003, 09:27 AM   #2
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
You must not have write permission for that folder. If you do a 'ls -alh' on a directory you will see the following:

-rw-r--r-- 1 g00se root 20k Sep 22 11:29 viewjobs.cfm

The first character has to do whether the file is a directory. In this case it is not.

The 'rw-' is the owner permissions, so the owner g00se has read/write access to this file.

The 'r--' is the group permissions, so anyone in group root may read this file.

The second 'r--' is everybody else, everyone else may read this file.

You use the 'chmod' command to change permissions. You may also use the 'chown' command to change owners. The 'chgrp' command will change groups.

There are a couple of ways to chmod with different syntaxes. The one I prefer is as follows:

4 - Read
2 - Write
1 - Execute

So to make the above file group writable I would do:

chmod 664 viewjobs.cfm

Check http://www.oreillynet.com/linux/cmd/ or the man pages (i.e. type 'man chmod' from a shell prompt) for information on these commands.
 
Old 11-03-2003, 07:08 AM   #3
yoaliens3000
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
can u give me a step to step process on how to do this? i am a huge mandrake noob.

how do u access a folder in the console?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the default gateway? tbruer1138 Linux - Networking 3 03-10-2005 08:21 PM
How to change default wm nacha Debian 1 06-10-2004 08:26 AM
how to change default os in Grub eye Linux - Software 3 05-16-2003 08:10 AM
Pushing a default webpage to users facroft General 0 07-23-2001 07:28 AM
How to change default OS to Windows arraman Linux - General 1 06-11-2001 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration