LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-10-2012, 04:26 PM   #1
wiliamvw
Member
 
Registered: Mar 2008
Location: Pittsburgh
Distribution: Suse, Slack,Uberstudent, Zorin, SL, Bugtraq
Posts: 324

Rep: Reputation: 16
/etc/fstab permission denied


As root [with red prompt] am given "permission denied" when use "/etc/fstab" ; is there something to get by this? My wifi card has had its labeling mysteriously altered from startup "at boot" to "connected by cable" which allows no activation and no way to change it back, so need to track down problem, and thought stating at fstab was best idea, but am not allowed to open it!!!
 
Old 04-10-2012, 04:31 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
If you are in fact the root user you should not get permission problems on that file but you can verify the perms with an ls -l /etc/fstab. If for some reason there is no read perms for the root user you may want to chmod 644 /etc/fstab and then you can get in
 
1 members found this post helpful.
Old 04-10-2012, 05:08 PM   #3
wiliamvw
Member
 
Registered: Mar 2008
Location: Pittsburgh
Distribution: Suse, Slack,Uberstudent, Zorin, SL, Bugtraq
Posts: 324

Original Poster
Rep: Reputation: 16
Thank you Kustom 42. Am now in.
 
Old 04-10-2012, 05:14 PM   #4
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
Just typing in "/etc/fstab" won't do anything and will give you permission denied of course. You need to use an editor like emacs,vim,nano,pico, etc to edit it like this:

Code:
editor /etc/fstab
I don't think editing /etc/fstab is going to help with your WiFi problem because it's for auto-mounting your drives. I'm not sure how the filesystem tables can help but if it can, I hope I helped too.
 
1 members found this post helpful.
Old 04-12-2012, 05:43 PM   #5
wiliamvw
Member
 
Registered: Mar 2008
Location: Pittsburgh
Distribution: Suse, Slack,Uberstudent, Zorin, SL, Bugtraq
Posts: 324

Original Poster
Rep: Reputation: 16
editor needed

Also a thank you to you TommyC7; one text said just to enter as I did, but in another guide found you do need to use an editor.
 
  


Reply



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
mounting any device in fstab = Permission denied when trying to cd without root. Romanus81 Slackware 5 06-03-2008 11:24 PM
why is my permission denied to /etc/fstab CyrusArdain Linux - Newbie 4 05-24-2007 02:09 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
Permission DENIED in /dev/hdb1 (NTFS) | fstab? BlueSpirit Slackware 2 09-03-2006 10:47 AM
FSTAB / Permission Denied Error clearh20 Linux - Newbie 5 06-10-2003 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:22 PM.

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