l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jul 25 02:42

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] how to use newgrp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] how to use newgrp

On Thu, 24 Jul 2003, Mark K. Kim wrote:

> hi.  i'm having difficulty accessing the cdrom even though i think i
> set all the permissions correctly.  so i'm thinking i should probably
> use newgrp to switch groups to make use of the permissions, but it keeps
> on asking for my password which i shouldn't need to switch to the group.

I have never used newgrp (more on why below), but the manpage says either
the group password or your account password will be required.

My understanding is that your current group id is only used when you
create new files, to define the group access for that file.  Since the
files on a cdrom are read-only, I dont see how this is going to fix
anything for you.

The most common problem I have seen with group access is forgetting to log
out and log back in again to reload your group permissions.  That is, if
you changed your group permissions, you need to log out and back in again
to use the new permissions.  This may be affecting your ability to invoke
newgrp as well.

Since I don't work in a multi-user environment, I don't need to create
files with different group ownership very often, so newgrp isn't something
I have needed (chgrp or chown is usually enough to fix problems).

Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.