Unix Command meaning

Discussion in 'macOS' started by drumpat01, Oct 31, 2011.

  1. drumpat01 macrumors 6502

    drumpat01

    Joined:
    Jul 31, 2004
    Location:
    Denton, TX
    #1
    I've been using this command to change the permissions of a folder for about 2 years now but I've never known what a certain part means. Heres the command

    sudo chown -Rv UserName Public/

    It will prompt me for the user password and then change the permissions in the public folder for Read/Write. So what does "chown" and "-Rv" mean?
     
  2. mobilehaathi macrumors G3

    mobilehaathi

    Joined:
    Aug 19, 2008
    Location:
    The Anthropocene
    #2
    chown changes ownership

    -R Change the user ID and/or the group ID for the file hierarchies rooted in the files instead of just the files themselves.

    -v Cause chown to be verbose, showing files as the owner is modified.

    you can type man chown to learn more.:)
     
  3. drumpat01 thread starter macrumors 6502

    drumpat01

    Joined:
    Jul 31, 2004
    Location:
    Denton, TX

Share This Page