Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

drumpat01

macrumors 6502
Original poster
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?
 
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?

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.🙂
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.