xfs
[Top] [All Lists]

inheriting group ID working?

To: <linux-xfs@xxxxxxxxxxx>
Subject: inheriting group ID working?
From: "David Orman" <orman@xxxxxxxxxxx>
Date: Thu, 11 Oct 2001 15:32:13 -0500
Importance: Normal
Sender: owner-linux-xfs@xxxxxxxxxxx

I’ve been trying to use the inherit GID functionality and it only seems to work in a vmware machine…. Very Odd.

 

Heres my test script:

 

[root@habenero orman]# cat tester.sh

mkdir test

chgrp ftp test

chmod 2775 test

cd test

touch test1

mkdir test2

ls -la

 

 

heres the output on a vmware machine:

 

[root@toys-rh7 /mnt]# ~/tester.sh

total 3

drwxrwsr-x    3 root     ftp          1024 Oct 11 15:17 .

drwxr-xr-x    6 root     root         1024 Oct 11 15:17 ..

-rw-r--r--    1 root     ftp             0 Oct 11 15:17 test1

drwxr-sr-x    2 root     ftp          1024 Oct 11 15:17 test2

 

worked perfectly!

 

 

Now heres the output from one of the machines that actually matters:

 

[root@habenero orman]# ./tester.sh

total 4

drwxrwsr-x    3 root     ftp            37 Oct 11 15:20 .

drwxr-xr-x   11 orman    root         4096 Oct 11 15:20 ..

-rw-r--r--    1 root     ftp             0 Oct 11 15:20 test1

drwxr-xr-x    2 root     ftp             9 Oct 11 15:20 test2     

 

Notice that in this case the Set GID bit did not get set in the subdirectory.

 

I’ve tried this on 2 different machines with the same results. I’ve even moved the kernel from the real machines to the vmware machine and it still works.  That probably means it’s not the kernel itself but something to do with hardware?

 

Other details I’m sure you want to know:

Base install Redhat 7.1

Kernel upgraded to 2.4.10 via base sources from kernel.org and 2.4.10 patch from oss.sgi.com, all xfs code compiled in, no modules.

Vmware version 3.0BETA

 

Hardware:

Machine 1:

Dual PIII 600, XFS fs on a CMD CRD4110 RAID controller (Seagate 18G’s under that)

 

Machine 2:

Celeron 700, XFS fs on a 20G IDE Maxtor 98196H8

 

Any advice?

 

 

David Orman

Network Administrator

ISU Center for NDE

 

<Prev in Thread] Current Thread [Next in Thread>