Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 08:17 PM
06-09-2004 08:17 PM
group id
uid=255(htoo) gid=116(bscs) groups=9998(Users)
$ pwd
/home/htoo
$ id
uid=255(htoo) gid=116(bscs) groups=9998(Users)
$ touch cc.c
$ ls -l cc.c
-rw-r--r-- 1 htoo daemon 0 Jun 10 16:14 cc.c
Please see above.This is very funny.Whenever I do a touch on a file the group change to daemon even I'm not in this group.
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 08:26 PM
06-09-2004 08:26 PM
Re: group id
what does "# id daemon" report, or "# grep daemon /etc/group"
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 08:28 PM
06-09-2004 08:28 PM
Re: group id
$ id daemon
uid=1(daemon) gid=1(daemon)
$ grep daemon /etc/group
daemon:*:1:daemon
$ ypcat group|grep daemon
By the way we are using NIS.
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 08:29 PM
06-09-2004 08:29 PM
Re: group id
ls -ld /home/htoo
(looking for acls)
and of
grep -e "bscs" -e "daemon" /etc/group
(looking for strangeness :)
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 08:43 PM
06-09-2004 08:43 PM
Re: group id
Try the same in another directory to see if the same problem occurs.
(and remove the file before touching again)
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 08:45 PM
06-09-2004 08:45 PM
Re: group id
You are getting somewhere.here are the output of the :
# ls -ld /home/htoo
lrwxrwxrwx 1 root system 18 Jun 10 16:40 htoo -> /tmp_mnt/home/htoo
# ls -ld /tmp_mnt/home/htoo
drwxrwxrwx 11 root daemon 1536 Jun 10 16:43 /tmp_mnt/home/htoo
FYI we are using auto mount .
I try ti change the owner on /tmp_mnt/home/htoo it give below error :
# chown htoo:bscs htoo
chown: htoo: Not owner
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 08:47 PM
06-09-2004 08:47 PM
Re: group id
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 08:48 PM
06-09-2004 08:48 PM
Re: group id
regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 08:50 PM
06-09-2004 08:50 PM
Re: group id
regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 08:52 PM
06-09-2004 08:52 PM
Re: group id
I am using root.But it give me not owner error .... any idea ?.
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 09:30 PM
06-09-2004 09:30 PM
Re: group id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 09:44 PM
06-09-2004 09:44 PM
Re: group id
I did change the source nfs server directory.But the result still the same...
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 09:51 PM
06-09-2004 09:51 PM
Re: group id
All of this might help, as long as permissions are set on the other server and replicated as UIDs on local. options of export may also have influence.
regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 09:52 PM
06-09-2004 09:52 PM
Re: group id
# ll /usr/bin/chown
-r-xr-xr-x 1 bin bin 24576 Nov 7 1997 /usr/bin/chown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 11:26 PM
06-09-2004 11:26 PM
Re: group id
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 08:26 PM
06-10-2004 08:26 PM
Re: group id
- I learned not to trust the id command output,
especially in NIS environments with HP-UX servers.
- Find out manually, what groupset you are in:
ypcat passwd|grep htoo
ypcat group|grep htoo
- Check for local accounts in /etc/passwd and /etc/group overriding the NIS settings!
- Check the directory for sedgid flags and remove (if appropriate):
chmod g-s
Regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 09:37 PM
06-10-2004 09:37 PM
Re: group id
Checkout: bdf /tmp/home/htoo
Also checkout any mount options.
And of course export options. Could it be you have some mapping for group id's?
Checkout output of showmount -e