General discussion

Locked

no etc/fstab in RH9

By Einskak ·
when i type /etc/fstab in shell it will appear PERMISSION DENIED what a problem? and how to eliminate this problem. and what is a correct command.

pls. help me...

THANSK A LOT

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by sachin In reply to no etc/fstab in RH9

You might want to take a look at this:
http://tldp.org/HOWTO/NFS-HOWTO/index.html
http://www.redhat.com/support/resources/tips/NFS-Tips/NFS-Tips.html
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/ch-nfs.html

Collapse -

by EarleZO In reply to no etc/fstab in RH9

Hi, the /etc/fstab file is not an executable file. Rather it contains a list of the partitions and file systems that linux will try to mount at system startup.

To view the file, type cat /etc/fstab

To change the file, use your editor of choice eg vi, pico, emacs, edit, whatever.

When I said /etc/fstab was not executable, I meant that you can't just run it. If you have made changes, they should be implemented the next time your system reboots. To implement any changes immediately, use the command mount -a

Hope this helps

Earle

Collapse -

by CXY In reply to no etc/fstab in RH9

What exactly are you trying to do?

To view the file use `cat /etc/fstab`
To edit the file use `vi /etc/fstab`
To view file information use `ls -l /etc/fstab`

If you use `/etc/fstab` your shell will assume you are trying to execute/run the file. Since the permission is rw-r--r-- (0644), you will not have permission to do that.

Hope that helps

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums