LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-09-2007, 06:23 PM   #1
tijon
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
permission denied for grub


I'm brand new to Linux and totally lost! Brand new to anything but Windows is more accurate. I have Debian and FreeDos installed on an old Gateway celeron. Everything is working fine, but the grub is set at 5 seconds and it is not enough time. I have tried to access grub with "/boot/grub/menu.lst" but it tells me permission denied. I'm logged in as root, how do I get permission? Another silly question, where can I get a tutorial on working in Linux?
 
Old 10-09-2007, 06:38 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I am pretty sure you have just logged in as ordinary user to the GUI and may have invoke root privilege at the Debian terminal.

Therefore you can only edit /boot/grub/menu.lst in the terminal and not in the desktop.

You don't have permission to click the same file in the desktop for editing. Having said that you can use the graphic editor in terminal mode by command
Code:
gedit /boot/grub/menu.lst
It does the same thing.
 
Old 10-09-2007, 06:46 PM   #3
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
type
su
then
gedit /boot/grub/menu.lst
 
Old 10-09-2007, 06:50 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
AceofSpades19,

The OP has claimed he/she was in root! so "su" doesn't help. I base my prediction that Debian disallows root log in to the desktop as no Linux denies a root user to edit any system file.
 
Old 10-09-2007, 07:04 PM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Don't forget you need to specify an editor to view the file, for example the gedit editor:
gedit /boot/grub/menu.lst.
If you use KDE, you would use something like kate, kedit, ...
 
Old 10-09-2007, 07:27 PM   #6
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by saikee View Post
AceofSpades19,

The OP has claimed he/she was in root! so "su" doesn't help. I base my prediction that Debian disallows root log in to the desktop as no Linux denies a root user to edit any system file.
woops didn't read that, I could log in as root to gnome in debian etch so I don't see how that could be problem
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
Permission denied tonyevansau Linux - General 3 10-28-2005 07:57 PM
Permission Denied Deag^ Linux - Security 1 10-20-2004 11:05 AM
Permission Denied ryancoolest Linux - Newbie 7 10-03-2004 10:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:12 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