I think this is a simple question. I've surfed the web quite a while and can't find anything. I'm been using Linux and Gentoo for a while, but am still relatively clueless at times. Can someone please explain some things to me about the bash output below:

--> whoami
andersonbd1
--> groups
root bin daemon sys adm tty disk lp mem kmem wheel floppy mail news uucp man cron console audio cdrom dialout ftp sshd tape video squid gdm xfs games named mysql postgres
--> groups andersonbd1
root bin daemon sys adm tty disk lp mem kmem wheel floppy mail news uucp man cron console audio cdrom dialout ftp sshd tape video squid gdm xfs games named mysql postgres cdrw apache nut usb vpopmail users nofiles qmail postfix postdrop smmsp portage utmp nogroup nobody proftpd webmaster webdev
--> ls -ld htdocs
drw-rw-r-- 11 andersonbd1 webdev 4096 Jun 14 13:51 htdocs
--> cd htdocs
bash: cd: htdocs: Permission denied


1. why does it display all the groups in the second command, but not the first? All I did to add myself to a group was edit the /etc/group file - is this correct?
2. why can't I access this directory even though I am the owner?
3. why can't I access this directory even though I am in the group?
4. Does anyone know of any good linux mailing group archives or forums, so I don't have to ask what are probaly simple questions here?


Thanks in advance,
Ben Anderson

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



-- [EMAIL PROTECTED] mailing list



Reply via email to