If I use the command chown username:groupname filename to assign permissions to both a user and a group, does the command have the same results when executing chgrp groupname filename?
chown username:groupname filename
chgrp groupname filename
No, since you specified a user with chown.
chown :groupname filename
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago