LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-09-2009, 05:39 PM   #1
XenaneX
Member
 
Registered: Jan 2009
Location: London
Distribution: MX16 & PCLOS
Posts: 181
Blog Entries: 5

Rep: Reputation: 22
I can't get permission to edit wvdial.conf no matter what I try. Help please.


I'm using Kubuntu 8.10
For the life of me, I can't edit /etc/wvdial.conf

I tried sudo chown -R /
I tried sudo kate /etc/wvdial.conf
I tried sudo nano /etc/wvdial.conf

I keep getting "/etc/wvdial.conf is owned by uid 1000 should be 0"

I tried "chmod 755 /etc/wvdial.conf"
I tried "chmod 755 /etc/"
I tried "chmod 755 /etc"

Where am I going wrong? Thanks!!!!!!
 
Old 03-10-2009, 02:29 AM   #2
MikRose
Member
 
Registered: Mar 2006
Location: Arizona
Distribution: Mint 19.2
Posts: 100

Rep: Reputation: 15
Hello, I'm using 8.04 but just found this thread to change permission for an /etc file:

Drag & Drop using "sudo"
This is a trick from the thread on the Ubuntu Forums.
Create a launcher with the following command:
gksudo "gnome-open %u"

* HowToAddaLauncher (I've pasted it here for you just in case.)

Launchers are similar to "shortcuts" in Windows or "aliases" in the Mac OS. Adding a launcher in Ubuntu is easy.
The Easy Way
* Right-click unused space in any panel (the toolbars at top and/or bottom of the screen)
* Choose Add To Panel...
* Choose Custom Application Launcher
* Fill in Name, Command, and Comment
o Name is you want to call the link, such as "Firefox" or "Gaim"
o Command is what you would type in the terminal to launch the program. You can also click the "Browse" button to find the program on your computer. (I copied and pasted gksudo "gnome-open %u" in this space.)
o Comment is for a short explanation of the program. This and the Name will appear when you hover your mouse over the launcher.
* Click the No Icon button to select an icon for your launcher. You may find icons in /usr/share/icons/crystalsvg/16x16/apps/ or elsewhere. You could also make them yourself using GIMP or any other graphic editor.
* Click OK
* Your launcher should now appear on the panel

When you drag and drop any file on this launcher (it's useful to put it on the desktop or on a panel), it will be opened as root with its own associated application. This is helpful especially when you're editing config files owned by root, since they will be opened as read only by default with gedit, etc.
 
Old 03-11-2009, 05:38 AM   #3
XenaneX
Member
 
Registered: Jan 2009
Location: London
Distribution: MX16 & PCLOS
Posts: 181

Original Poster
Blog Entries: 5

Rep: Reputation: 22
Cool, thanks MikRose. This is great. I can't wait to try it out.
 
1 members found this post helpful.
Old 03-11-2009, 12:51 PM   #4
kasunbg
LQ Newbie
 
Registered: Mar 2009
Location: Sri Lanka
Distribution: Ubuntu 9.10
Posts: 13

Rep: Reputation: 0
Can you post the error you get when you are trying to edit it?
 
Old 03-12-2009, 05:01 AM   #5
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
why did u try to change the ownership of the file???? its owner should be root by default
 
Old 03-16-2009, 06:24 AM   #6
XenaneX
Member
 
Registered: Jan 2009
Location: London
Distribution: MX16 & PCLOS
Posts: 181

Original Poster
Blog Entries: 5

Rep: Reputation: 22
In trying to get permission to edit wvdial.conf I somehow messed up Ubuntu and have since uninstalled it. I might try again later. Thanks to all who helped.
 
  


Reply

Tags
edit, wvdial


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
Permission Denied when trying as "root" to edit xorg.conf d3g@ Linux - Newbie 4 09-07-2006 05:19 PM
Permission denied on /mnt/hdg1/test no matter what I do! jon_k Linux - Software 1 02-23-2006 06:21 PM
Does it matter if /etc/modules.conf is missing? 60s TV Batman Fedora 2 03-27-2005 03:22 AM
wvdial.conf korbin Linux - Newbie 3 02-03-2004 07:48 AM
what's the matter with my dhcpd.conf?! Warchief Linux - Networking 3 07-10-2003 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:56 AM.

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