Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: Ownership

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1


    Does anyone know how to change a file´s ownership?

  2. #2
    from command line as root

    chown (username): /file/location
    for example

    chown andy: /etc/ircd

  3. #3
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Seattle, WA, USA
    For the record, the colon after the user's name is not necessary. What that does is also change the file to the user's group.

    While it is recommended, if, for some reason, you don't want to do that, you could just say:

    chown alex my_file

  4. $spacer_open
  5. #4
    Thanks for the help.

Posting Permissions

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