kjh@pollux.usc.edu (Kenneth J. Hendrickson) (07/31/90)
Somebody please educate me about groups and permissions. I can't seem to get it working under Minix. I have the following /etc/group: ... [some stuff deleted] ham:*:51: user:*:60:kjh and the following /etc/passwd: ... [some stuff deleted] ast:[encrypted_passwd]:10:60:Andy Tanenbaum:/usr/user/ast: kjh:[encrypted_passwd]:11:51:Kenneth J. Hendrickson:/usr/user/kjh: So I thought that ast belonged to the group user, and kjh belongs to the group ham, but kjh also has priviledges in the group user. I created the file /usr/user/ast/tmp with permissions of -rw-r-----. The file is owned by ast, and has a group of user (chown and chgrp). Ast's directory has permissions of -rwxr-xr-x. Kjh can ls ast's directory, as expected, but cannot read the file tmp. Cat says it cannot open the file, while more says that permission is denied. I want to use groups for the adventure program, and to permit access to the printer on a selective basis. How do I do it? Ken Hendrickson N8DGN/6 kjh@usc.edu ...!uunet!usc!pollux!kjh