Operating System - HP-UX
1826723 Members
2496 Online
109702 Solutions
New Discussion

Re: ll -d shows gid instaed of group name

 
Ganesh Balraman
Regular Advisor

ll -d shows gid instaed of group name

Hi All,

When i try to run on ll -d on my system it shows gid number insted of group name.

#ll -d /var/opt
drwxrwx--x 55 root 3 8192 secdata

When i try to change the group chown root:sys

Even it displays 3 instead o sys.

Regds
Ganesh
4 REPLIES 4
TTr
Honored Contributor

Re: ll -d shows gid instaed of group name

Does this happen with the root user or non-root users? If it happens with the root user the /etc/group probably does not exist. If it happens with non-root users, check the permissions on /etc and /etc/group
Pete Randall
Outstanding Contributor

Re: ll -d shows gid instaed of group name

Does the /etc/group file exist and does it have the correct (-r--r--r--) permissions and ownership (bin bin)?


Pete

Pete
Dennis Handly
Acclaimed Contributor

Re: ll -d shows gid instaed of group name

What does id(1) show for your user and groups?
Jeeshan
Honored Contributor

Re: ll -d shows gid instaed of group name

your /var/ and /var/opt permission should be 555
a warrior never quits