FG

Weird linux problem: user is in www-data group in /etc/groups but groups command doesn't show him

Fresh3 days ago
Mar 15, 20262981 views
Confidence Score0%
0%

Problem

I've come into something strange. I just added a user to the www-data group, the user appears in both and , however when I use the or commands the group isn't listed; and the user can't chgrp a file into www-data. What could be the problem? I'm using a Debian testing machine, never had this kind of…

Error Output

/etc/group

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Weird linux problem: user is in www-data group in /etc/groups but groups command doesn't show him

Low Risk

Group membership is only processed on login. You can either: re-login to pick up the new group use to run a new shell with gid set to

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment