Results 1 to 4 of 4

Thread: Saving an xml file as root

  1. #1
    Join Date
    May 2008
    Beans
    11

    Question Saving an xml file as root

    I have a xml file that I need to save in usr->share->* and I think I need to be root to save it. when I try, text editor tells me I don't have the permissions I need to save it. How would I save it without losing changes?

  2. #2
    Join Date
    Nov 2007
    Location
    England
    Beans
    733
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Saving an xml file as root

    How have you opened it?
    You could open it with
    gksudo gedit
    and then save it from within gedit.
    Want an alternative to 99% of Windows applications?
    http://www.osalt.com/

    "Dude, real programmers compile" - Plato 428BC

  3. #3
    Join Date
    May 2008
    Beans
    11

    Unhappy Re: Saving an xml file as root

    I, a Mac user, went through the gui to find it in file browser. When i told it to open in text editor, it opened in gedit. (???) From gedit, it won't let me save. I don't think opening it from the command line would help.

  4. #4
    Join Date
    Nov 2007
    Location
    England
    Beans
    733
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Saving an xml file as root

    If it's in one of Ubuntu's "protected" directories, you can't just open it from the broswer. Run the command and it will allow you to edit the xml file.

    Run it, then use the File-Open and navigate the file system till you reach the file you want to edit.

    Just be sure you know what it is your editing
    Want an alternative to 99% of Windows applications?
    http://www.osalt.com/

    "Dude, real programmers compile" - Plato 428BC

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •