Re: adding a secondary group doesnt seem to work

From: Roger Gustavsson (no_at_spam.INVALID)
Date: 11/28/05


Date: Mon, 28 Nov 2005 15:35:26 GMT

ktgf wrote:

> I have a directory owned by root:other
> I want a user to be able to create files in it. The use is already on the
> serve
> The user has group GDOC which has number 104
> The entry in /etc/group file is :-
> GDOC::104:
> Now I edit the /etc/group file to add 104 to the entry for other
> ie
> OTHER::1:104
>
> For some reason it doesnt seem ot allow me write access.
> If I create a new group and a new user and do the same thing then it works
> without any problem and I can create file in the directory.

Have you logged out the user and logged in again? The current
login shell process doesn't know about the change you just did
to groupmemebership. The process has to be restarted, ie logout/
login.

/Roger

-- 
Roger Gustavsson
roger.gustavsson (_at_) teliasonera.com


Relevant Pages

  • adding a secondary group doesnt seem to work
    ... The user has group GDOC which has number 104 ... Now I edit the /etc/group file to add 104 to the entry for other ... George ...
    (comp.unix.solaris)
  • Re: adding a secondary group doesnt seem to work
    ... The use is already on the serve ... The user has group GDOC which has number 104 ... Now I edit the /etc/group file to add 104 to the entry for other ie ... to see them, use getfacl directory ...
    (comp.unix.solaris)