Ok so I am stumped as to why I get unknown group shell ... how can some files appear to belong to the group shell?
root@cdma_targa:/# cd /data/local/
cd /data/local/
root@cdma_targa:/data/local# mkdir logs <------------------Create a directory
mkdir logs
root@cdma_targa:/data/local# ls -l
ls -l
drwxrwxrwx root root 2012-04-06 11:31 logs <--------- view that the directory belongs to Root owner and root group
drwxrwx--x mot_tcmd shell 2012-02-04 09:16 12m
drwxrwx--x mot_tcmd shell 2012-03-09 21:24 tmp
drwxrwxrwx shell shell 2012-04-06 10:55 mystuff
root@cdma_targa:/data/local# chgrp shell logs < ------- Now try to set group to shell
chgrp shell logs
chgrp: unknown group shell < ------- command fails to set to group shell because it is a unknown group
root@cdma_targa:/data/local# su shell
su shell
shell@cdma_targa:/data/local$ mkdir log <------------------------- SU to Shell and then make a directory
mkdir log
shell@cdma_targa:/data/local$ ls -l
ls -l
drwxrwxrwx root root 2012-04-06 11:31 logs
drwxrwx--x mot_tcmd shell 2012-02-04 09:16 12m
drwxrwx--x mot_tcmd shell 2012-03-09 21:24 tmp
drwxrwxrwx shell shell 2012-04-06 10:55 mystuff
drwxrwxrwx shell shell 2012-04-06 11:32 log <-------- Looks like this directory belongs to a group named shell here???
shell@cdma_targa:/data/local$ chgrp shell logs
chgrp shell logs
chgrp: unknown group shell <----------- Try to again to chgrp to shell and again Unknown group shell
shell@cdma_targa:/data/local$
Any Ideas what am I doing? Is there really no group named shell?
root@cdma_targa:/# cd /data/local/
cd /data/local/
root@cdma_targa:/data/local# mkdir logs <------------------Create a directory
mkdir logs
root@cdma_targa:/data/local# ls -l
ls -l
drwxrwxrwx root root 2012-04-06 11:31 logs <--------- view that the directory belongs to Root owner and root group
drwxrwx--x mot_tcmd shell 2012-02-04 09:16 12m
drwxrwx--x mot_tcmd shell 2012-03-09 21:24 tmp
drwxrwxrwx shell shell 2012-04-06 10:55 mystuff
root@cdma_targa:/data/local# chgrp shell logs < ------- Now try to set group to shell
chgrp shell logs
chgrp: unknown group shell < ------- command fails to set to group shell because it is a unknown group
root@cdma_targa:/data/local# su shell
su shell
shell@cdma_targa:/data/local$ mkdir log <------------------------- SU to Shell and then make a directory
mkdir log
shell@cdma_targa:/data/local$ ls -l
ls -l
drwxrwxrwx root root 2012-04-06 11:31 logs
drwxrwx--x mot_tcmd shell 2012-02-04 09:16 12m
drwxrwx--x mot_tcmd shell 2012-03-09 21:24 tmp
drwxrwxrwx shell shell 2012-04-06 10:55 mystuff
drwxrwxrwx shell shell 2012-04-06 11:32 log <-------- Looks like this directory belongs to a group named shell here???
shell@cdma_targa:/data/local$ chgrp shell logs
chgrp shell logs
chgrp: unknown group shell <----------- Try to again to chgrp to shell and again Unknown group shell
shell@cdma_targa:/data/local$
Any Ideas what am I doing? Is there really no group named shell?