Click to See Complete Forum and Search --> : editing fstab


bobterri
02-27-2002, 07:27 PM
I am attempting to edit my fstab file to change the settings for my cdrom. When I log into root in my konsole terminal emulator window, I type in su - (password) to get into root, which works. When i type in /etc/fstab to access the file and edit it I get "permission denied." How can I edit this file?

AdaHacker
02-27-2002, 07:33 PM
Maybe this is a stupid question, but did you try to open it using a text editor, e.g. by typing 'vi /etc/fstab' or 'gedit /etc/fstab'? If so, I apologize, but from your post it sounds like you just typed in the file name.

sasKuatch
02-28-2002, 07:45 PM
try changing the permissions with chmod, maybe you are not the owner? try chown root

i'm not sure what the correct permissions are for fstab, back it up first and experiment
try 455 or look in the chmod man page

just a thought