Find the answer to your Linux question:
Results 1 to 4 of 4
I'm kinda new to linux, and maybe I don't understand perfectly this whole ownership thing, but is there a way to make myself the owner rather than root? Right now ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Posts
    3

    Changing Ownership


    I'm kinda new to linux, and maybe I don't understand perfectly this whole ownership thing, but is there a way to make myself the owner rather than root? Right now in order to write to any file I need to to to terminal and type in sudo nautilus and then I can change ownership to myself, however this is rather annoying, is there a simple way to make myself the owner?

    Thanks for any help.

  2. #2
    Just Joined! SweetLou's Avatar
    Join Date
    Nov 2004
    Posts
    68
    You can, but you don't want to do this. It is not a good idea. If you need to edit a file that is owned by root, just su into root and use either something like vi or gedit.
    If you change ownership to yourself, you might as well just run Linux as root, it would be easier. But this is not a good idea, it is a better idea to run as yourself and su into root when needed.
    But if you really want to do this, you need to use the chown command.

  3. #3
    Linux Enthusiast aysiu's Avatar
    Join Date
    Jul 2005
    Posts
    633
    Changing ownership of system files is a quick way to wreck your system.

    Those are owned by root for a good reason--security.

    http://www.psychocats.net/ubuntu/permissions
    https://wiki.ubuntu.com/RootSudo

  4. #4
    Just Joined!
    Join Date
    Jun 2006
    Posts
    3
    alright, makes sense, thanks a lot!

Posting Permissions

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