and be careful!  fstab requires a carraige return or blank line at the end
of the file (i can't remember, someone refresh my memory...) and it can
cause serious problems (or so i think) if this is left out.  my last debian
install was scrapped because of this...

-----Original Message-----
From: Ben Barrett [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 2:41 PM
To: [EMAIL PROTECTED]
Subject: [EUG-LUG:3471] Re: Permission denied


Mark Bigler wrote:

>On Friday 26 October 2001 14:30, Matthew Winther wrote:
>
>>I am trying to mount another hd in RH 7.1 And i am logged in as root.
>>In Konsole typing /etc/fstab gives me the message permission denied.
>>What am i doing wrong?
>>
>
>/etc/fstab is a file so to display it you need to do something like:
>
>  cat /etc/fstab
>
>or:
>
>  less /etc/fstab
>
>/etc/fstab is usually world readable so you should be able to do that 
>even when you're not root.
>
>
...and then you might want to add an entry, using an editor like vi, 
pico, emacs, etc...
'emacs /etc/fstab' when you are root, for instance.
  If you're not familiar with the file format, try typing 'man fstab' 
and read on!

ben

Reply via email to