I have a folder named docs
, how do I add rwx permissions for group devs
to docs?
I tried:
chmod -R g+rwx docs
but I don't know where to specify that it's the devs group I want to grant permissions for.
linuxpermissionsunix
I have a folder named docs
, how do I add rwx permissions for group devs
to docs?
I tried:
chmod -R g+rwx docs
but I don't know where to specify that it's the devs group I want to grant permissions for.
Best Answer
What you did is right but first you may have to change the group to "devs" with the chgrp or chown command. Note that in unixland a file only has one group.