Jianping, I had no problem here with the following sequence which, I think, is what you were trying to do.......
As root: cd /usr mkdir foo groupadd foogroup chgrp foogroup foo chmod 775 foo usermod -G foogroup user1 Now, login as user1 cd /usr/foo touch foofile result shows foofile exits in the /usr/foo directory. I'm using RH 7.3 here. Regards, Mike Klinke On Friday 21 March 2003 01:18, Jianping Zhu wrote: > Do i have to restart server, to let my change to /etc/group take > effect? > > Thanks > > On Thu, 20 Mar 2003, Jianping Zhu wrote: > > I have dir d1 need to be accessed by u1 u2 u3 u3 > > i use groupadd to add a new group g1, and put u1 u2 u3 u4 in this > > group. then I use chgrp to let d1 belong to g1, and i grant r/w > > access of d1 to g1. > > but when i log in as u1, i can not write to u1. (if i restart the > > server, it will work). > > > > my question is when i make change to /etc/group, do i need to do > > something to let the change take effect? or i did something else > > wrong in above process? > > > > Thanks > > > > J.P. > > > > > > > > -- > > redhat-list mailing list > > unsubscribe > > mailto:[EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > -------------------------------- > Jianping Zhu > Department of Computer Science > Univerity of Georgia > Athens, GA 30602 > Tel 706 5423900 > -------------------------------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list