I want to add my user patrick
to the plex
group, so I used the command
usermod -a -G plex patrick
Great! When I type groups patrick
I get
patrick : patrick adm cdrom sudo dip plugdev lxd sambashare lpadmin plex
However, when I then tried to chgrp
a directory from patrick
to plex
it returns a permission denied! If I type in groups
with no username specified, the output returns
patrick adm cdrom sudo dip plugdev lxd sambashare lpadmin
with no group plex
at the end. (And I'm logged in as user patrick
)
What did I do incorrectly? Why am I seeing different results for groups
vs groups username
?