Find the answer to your Linux question:
Results 1 to 5 of 5
Hi I've just installed Debian dual booting with WinXP but when I was to edit menu.lst I realized that I could not do chmod as root! How is this possible?Any ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    2

    root cannt chmod!

    Hi

    I've just installed Debian dual booting with WinXP but when I was to edit menu.lst I realized that I could not do chmod as root! How is this possible?Any help is welcome.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    it nort recommended to change permission of any folder/file outside /home folder. which folder/file's permission are you trying to change? could explain a bit more?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! Runn3r.cze's Avatar
    Join Date
    Jul 2007
    Location
    czech republic
    Posts
    93
    you don't really need to change permissions to edit the file, just use
    Code:
    sudo kate menu.lst
    kate is the name of text editor used by me, you can replace it with some your...

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by Runn3r.cze
    sudo kate menu.lst
    its not recommended to use sudo for launching GUI applications with root privileges. one should use 'kdesu' in KDE and 'gksu' in GNOME.
    Code:
    gksu gedit /boot/grub/menu.lst
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Jul 2007
    Posts
    2
    many thanks, gedit worked fine!

Posting Permissions

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