I’m writing this post so I can keep a local copy of the neat trick a found on the web. This command allows you to refresh your Linux group membership without logging out. This is super useful if you’re doing development in directory owned by a service group, like www-data.

How to do it

exec su -l $USER


An Edwards Research Blog

Posted in UncategorizedTagged

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>