[TriLUG] Adding users to groups
Tanner Lovelace
lovelace at wayfarer.org
Thu Dec 18 14:51:48 EST 2003
Jon Carnes wrote:
>>The user will have to log out and then log back in for group changes to
>>take effect. This is true for both Windows and Linux group permissions.
>
>
> Whoa there... That is definitely NOT true. Permission changes generally
> take place immediately. The only exception I know of is with
> applications that cache permission values, and there are darn few of
> those.
It looks to me like there's a small disconnect here. Jon, please
correct me if I'm wrong, but what you seem to be saying is that if you
change group permissions on a file it happens immediately. What I think
Joseph is saying is that if a user is not a member of a group, and then
you add him to the group file so they're now a member of a particular
group, then *that change* doesn't take effect until you log out then
back in (or possibly using the newgrp command Jeremy mentioned).
Did I understand everything correct? This would make sense since the original
poster mentioned creating a user and then later adding them to the group
with permission to write to a particular directory.
So, short story is, changes on permissions of files happen immediately,
but changes in a user's group status doesn't happen immediately.
Cheers,
Tanner
--
Tanner Lovelace | lovelace(at)wayfarer.org | http://wtl.wayfarer.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint = A66C 8660 924F 5F8C 71DA BDD0 CE09 4F8E DE76 39D4
GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
He who receives an idea from me, receives instruction himself
without lessening mine; as he who lights his taper at mine,
receives light without darkening me. -- Thomas Jefferson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 222 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20031218/0478ebba/attachment.pgp>
More information about the TriLUG
mailing list